@DistributeMe(agentsSupport=false,
moskitoSupport=false)
@SupportService
@FailBy(strategyClass=org.distributeme.core.failing.RetryCallOnce.class)
public interface ThresholdAPI
extends net.anotheria.anoplass.api.API, net.anotheria.anoprise.metafactory.Service
| Modifier and Type | Method and Description |
|---|---|
void |
createThreshold(ThresholdPO po) |
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 |
removeThreshold(java.lang.String id) |
void |
updateThreshold(java.lang.String thresholdId,
ThresholdPO po) |
java.util.List<ThresholdAlertAO> getAlerts() throws net.anotheria.anoplass.api.APIException
net.anotheria.anoplass.api.APIExceptionvoid createThreshold(ThresholdPO po) throws net.anotheria.anoplass.api.APIException
net.anotheria.anoplass.api.APIExceptionjava.util.List<ThresholdStatusAO> getThresholdStatuses() throws net.anotheria.anoplass.api.APIException
net.anotheria.anoplass.api.APIExceptionjava.util.List<ThresholdStatusAO> getThresholdStatuses(java.lang.String... names) throws net.anotheria.anoplass.api.APIException
net.anotheria.anoplass.api.APIExceptionjava.util.List<ThresholdDefinitionAO> getThresholdDefinitions() throws net.anotheria.anoplass.api.APIException
net.anotheria.anoplass.api.APIExceptionvoid removeThreshold(java.lang.String id)
throws net.anotheria.anoplass.api.APIException
net.anotheria.anoplass.api.APIExceptionvoid updateThreshold(java.lang.String thresholdId,
ThresholdPO po)
throws net.anotheria.anoplass.api.APIException
net.anotheria.anoplass.api.APIExceptionThresholdStatus getWorstStatus() throws net.anotheria.anoplass.api.APIException
net.anotheria.anoplass.api.APIExceptionThresholdDefinitionAO getThresholdDefinition(java.lang.String id) throws net.anotheria.anoplass.api.APIException
id - net.anotheria.anoplass.api.APIExceptionThresholdStatus getWorstStatus(java.util.List<java.lang.String> thresholdNames) throws net.anotheria.anoplass.api.APIException
thresholdNames - net.anotheria.anoplass.api.APIExceptionjava.util.List<ThresholdConditionGuard> getGuardsForThreshold(java.lang.String thresholdId) throws net.anotheria.anoplass.api.APIException
net.anotheria.anoplass.api.APIExceptionjava.util.List<java.lang.String> getThresholdIdsTiedToASpecificProducer(java.lang.String producerId)
throws net.anotheria.anoplass.api.APIException
producerId - net.anotheria.anoplass.api.APIExceptionCopyright © 2010-2020 anotheria.net. All Rights Reserved.