public class RemoteThresholdAPIStub extends java.lang.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() |
java.util.List<ThresholdAlertAO> |
getAlerts() |
java.util.List<ThresholdConditionGuard> |
getGuardsForThreshold(java.lang.String thresholdId) |
ThresholdDefinitionAO |
getThresholdDefinition(java.lang.String id)
Returns threshold definition by id.
|
java.util.List<ThresholdDefinitionAO> |
getThresholdDefinitions() |
java.util.List<java.lang.String> |
getThresholdIdsTiedToASpecificProducer(java.lang.String producerId)
Returns all threshold ids which are tied to a specific producer.
|
java.util.List<ThresholdStatusAO> |
getThresholdStatuses() |
java.util.List<ThresholdStatusAO> |
getThresholdStatuses(java.lang.String[] names) |
ThresholdStatus |
getWorstStatus() |
ThresholdStatus |
getWorstStatus(java.util.List<java.lang.String> thresholdNames)
Returns the worst status for the thresholds.
|
void |
init() |
void |
removeThreshold(java.lang.String id) |
void |
updateThreshold(java.lang.String thresholdId,
ThresholdPO po) |
public RemoteThresholdAPIStub()
public RemoteThresholdAPIStub(org.distributeme.core.ServiceDescriptor target)
public java.util.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 java.util.List<ThresholdStatusAO> getThresholdStatuses() throws net.anotheria.anoplass.api.APIException
getThresholdStatuses in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic java.util.List<ThresholdStatusAO> getThresholdStatuses(java.lang.String[] names) throws net.anotheria.anoplass.api.APIException
getThresholdStatuses in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic java.util.List<ThresholdDefinitionAO> getThresholdDefinitions() throws net.anotheria.anoplass.api.APIException
getThresholdDefinitions in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic void removeThreshold(java.lang.String id)
throws net.anotheria.anoplass.api.APIException
removeThreshold in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic void updateThreshold(java.lang.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(java.lang.String id) throws net.anotheria.anoplass.api.APIException
ThresholdAPIgetThresholdDefinition in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic ThresholdStatus getWorstStatus(java.util.List<java.lang.String> thresholdNames) throws net.anotheria.anoplass.api.APIException
ThresholdAPIgetWorstStatus in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic java.util.List<ThresholdConditionGuard> getGuardsForThreshold(java.lang.String thresholdId) throws net.anotheria.anoplass.api.APIException
getGuardsForThreshold in interface ThresholdAPInet.anotheria.anoplass.api.APIExceptionpublic java.util.List<java.lang.String> getThresholdIdsTiedToASpecificProducer(java.lang.String producerId)
throws net.anotheria.anoplass.api.APIException
ThresholdAPIgetThresholdIdsTiedToASpecificProducer 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-2020 anotheria.net. All Rights Reserved.