Class Server.ServerType
java.lang.Object
NodeSections.Server.ServerType
- Enclosing class:
Server
- Author:
- Francesco Radaelli, Stefano Omini, Bertoli Marco
-
Constructor Summary
ConstructorsConstructorDescriptionServerType(String name, int numOfServers, Boolean[] compatibilities, int id) -
Method Summary
Modifier and TypeMethodDescriptionvoiddecrementBusyCounter(int dec) intBoolean[]intgetId()getName()intintvoidincrementBusyCounter(int inc)
-
Constructor Details
-
ServerType
-
-
Method Details
-
getId
public int getId() -
getCompatibilities
-
getNumOfServers
public int getNumOfServers() -
getName
-
incrementBusyCounter
public void incrementBusyCounter(int inc) -
decrementBusyCounter
public void decrementBusyCounter(int dec) -
getBusyCounter
public int getBusyCounter() -
getNumberOfFreeServers
public int getNumberOfFreeServers()
-