public class ServerResource extends AbstractBrooklynRestResource implements ServerApi
DATE_FORMAT
Constructor and Description |
---|
ServerResource() |
Modifier and Type | Method and Description |
---|---|
HighAvailabilitySummary |
getHighAvailability()
Deprecated.
|
ManagementNodeState |
getHighAvailabilityNodeState() |
HighAvailabilitySummary |
getHighAvailabilityPlaneStates() |
long |
getHighAvailabitlityPriority() |
java.lang.String |
getStatus()
Deprecated.
|
java.lang.String |
getUser() |
VersionSummary |
getVersion() |
void |
reloadBrooklynProperties() |
ManagementNodeState |
setHighAvailabilityNodeState(HighAvailabilityMode mode) |
long |
setHighAvailabilityPriority(long priority) |
void |
shutdown(boolean stopAppsFirst,
boolean forceShutdownOnError,
java.lang.String shutdownTimeoutRaw,
java.lang.String requestTimeoutRaw,
java.lang.String delayForHttpReturnRaw,
java.lang.Long delayMillis) |
brooklyn, injectManagementContext, mgmt
public void reloadBrooklynProperties()
reloadBrooklynProperties
in interface ServerApi
public void shutdown(boolean stopAppsFirst, boolean forceShutdownOnError, java.lang.String shutdownTimeoutRaw, java.lang.String requestTimeoutRaw, java.lang.String delayForHttpReturnRaw, java.lang.Long delayMillis)
public VersionSummary getVersion()
getVersion
in interface ServerApi
@Deprecated public java.lang.String getStatus()
@Deprecated public HighAvailabilitySummary getHighAvailability()
getHighAvailability
in interface ServerApi
public ManagementNodeState getHighAvailabilityNodeState()
getHighAvailabilityNodeState
in interface ServerApi
public ManagementNodeState setHighAvailabilityNodeState(HighAvailabilityMode mode)
setHighAvailabilityNodeState
in interface ServerApi
public long getHighAvailabitlityPriority()
getHighAvailabitlityPriority
in interface ServerApi
public long setHighAvailabilityPriority(long priority)
setHighAvailabilityPriority
in interface ServerApi
public HighAvailabilitySummary getHighAvailabilityPlaneStates()
getHighAvailabilityPlaneStates
in interface ServerApi