Class AbstractStrategy
java.lang.Object
org.sentrysoftware.metricshub.engine.strategy.AbstractStrategy
- Direct Known Subclasses:
AbstractAllAtOnceStrategy,CollectStrategy,DetectionStrategy,PrepareCollectStrategy,PreSourcesStrategy,ProtocolHealthCheckStrategy
Abstract class representing a strategy for handling connectors and their sources and computes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringFormat for string value like: connector_connector-id -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.sentrysoftware.metricshub.engine.strategy.IStrategy
getStrategyTime
-
Field Details
-
CONNECTOR_ID_FORMAT
Format for string value like: connector_connector-id- See Also:
-
-
Constructor Details
-
AbstractStrategy
public AbstractStrategy()
-
-
Method Details
-
getStrategyTimeout
public long getStrategyTimeout()Description copied from interface:IStrategyGet the timeout of the strategy.- Specified by:
getStrategyTimeoutin interfaceIStrategy- Returns:
- long value representing the timeout in seconds.
-