Class Host
java.lang.Object
org.opencastproject.adopter.registration.dto.Host
DTO that contains information about a host machine of an adopter. It's a simplified version
of the HostRegistration class
HostRegistration.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCores()floatlongvoidsetCores(int cores) voidsetHostname(String hostname) voidsetMaxLoad(float maxLoad) voidsetMemory(long memory) voidsetServices(String services)
-
Constructor Details
-
Host
public Host(org.opencastproject.serviceregistry.api.HostRegistration host)
-
-
Method Details
-
getCores
public int getCores() -
setCores
public void setCores(int cores) -
getMaxLoad
public float getMaxLoad() -
setMaxLoad
public void setMaxLoad(float maxLoad) -
getMemory
public long getMemory() -
setMemory
public void setMemory(long memory) -
getHostname
-
setHostname
-
getServices
-
setServices
-