Class Server.ServerType

java.lang.Object
NodeSections.Server.ServerType
Enclosing class:
Server

public class Server.ServerType extends Object
Author:
Francesco Radaelli, Stefano Omini, Bertoli Marco
  • Constructor Details

    • ServerType

      public ServerType(String name, int numOfServers, Boolean[] compatibilities, int id)
  • Method Details

    • getId

      public int getId()
    • getCompatibilities

      public Boolean[] getCompatibilities()
    • getNumOfServers

      public int getNumOfServers()
    • getName

      public String getName()
    • incrementBusyCounter

      public void incrementBusyCounter(int inc)
    • decrementBusyCounter

      public void decrementBusyCounter(int dec)
    • getBusyCounter

      public int getBusyCounter()
    • getNumberOfFreeServers

      public int getNumberOfFreeServers()