public class RemoteThresholdAPIStub extends Object implements ThresholdAPI
| Constructor and Description |
|---|
RemoteThresholdAPIStub() |
RemoteThresholdAPIStub(org.distributeme.core.ServiceDescriptor target) |
| Modifier and Type | Method and Description |
|---|---|
void |
createThreshold(ThresholdPO po) |
void |
deInit() |
List<ThresholdAlertAO> |
getAlerts() |
List<ThresholdConditionGuard> |
getGuardsForThreshold(String thresholdId) |
ThresholdDefinitionAO |
getThresholdDefinition(String id)
Returns threshold definition by id.
|
List<ThresholdDefinitionAO> |
getThresholdDefinitions() |
List<ThresholdStatusAO> |
getThresholdStatuses() |
List<ThresholdStatusAO> |
getThresholdStatuses(String[] names) |
ThresholdStatus |
getWorstStatus() |
ThresholdStatus |
getWorstStatus(List<String> thresholdNames)
Returns the worst status for the thresholds.
|
void |
init() |
void |
removeThreshold(String id) |
void |
updateThreshold(String thresholdId,
ThresholdPO po) |
public RemoteThresholdAPIStub()
public RemoteThresholdAPIStub(org.distributeme.core.ServiceDescriptor target)
public List<ThresholdAlertAO> getAlerts() throws net.anotheria.anoplass.api.APIException
getAlerts in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic void createThreshold(ThresholdPO po) throws net.anotheria.anoplass.api.APIException
createThreshold in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic List<ThresholdStatusAO> getThresholdStatuses() throws net.anotheria.anoplass.api.APIException
getThresholdStatuses in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic List<ThresholdStatusAO> getThresholdStatuses(String[] names) throws net.anotheria.anoplass.api.APIException
getThresholdStatuses in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic List<ThresholdDefinitionAO> getThresholdDefinitions() throws net.anotheria.anoplass.api.APIException
getThresholdDefinitions in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic void removeThreshold(String id) throws net.anotheria.anoplass.api.APIException
removeThreshold in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic void updateThreshold(String thresholdId, ThresholdPO po) throws net.anotheria.anoplass.api.APIException
updateThreshold in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic ThresholdStatus getWorstStatus() throws net.anotheria.anoplass.api.APIException
getWorstStatus in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic ThresholdDefinitionAO getThresholdDefinition(String id) throws net.anotheria.anoplass.api.APIException
ThresholdAPIgetThresholdDefinition in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic ThresholdStatus getWorstStatus(List<String> thresholdNames) throws net.anotheria.anoplass.api.APIException
ThresholdAPIgetWorstStatus in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic List<ThresholdConditionGuard> getGuardsForThreshold(String thresholdId) throws net.anotheria.anoplass.api.APIException
getGuardsForThreshold in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic void init()
throws net.anotheria.anoplass.api.APIInitException
init in interface net.anotheria.anoplass.api.APInet.anotheria.anoplass.api.APIInitExceptionpublic void deInit()
deInit in interface net.anotheria.anoplass.api.APICopyright © 2010-2015 anotheria.net. All Rights Reserved.