Class SnmpGetSource
java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.Source
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.SnmpSource
org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.SnmpGetSource
- All Implemented Interfaces:
Serializable
Represents a source task that retrieves data using SNMP GET.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSnmpGetSource(String type, List<Compute> computes, boolean forceSerialization, String oid, String key, ExecuteForEachEntryOf executeForEachEntryOf) Constructs a newSnmpGetSourceinstance with the provided attributes. -
Method Summary
Modifier and TypeMethodDescriptionaccept(ISourceProcessor sourceProcessor) Accepts a source processor to perform processing on the source.copy()Copy the current instancetoString()Methods inherited from class org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.SnmpSource
updateMethods inherited from class org.sentrysoftware.metricshub.engine.connector.model.monitor.task.source.Source
getEntryConcatMethod, getExecuteForEachEntryOf, getSleepExecuteForEachEntryOf, isExecuteForEachEntryOf
-
Constructor Details
-
SnmpGetSource
public SnmpGetSource(String type, List<Compute> computes, boolean forceSerialization, String oid, String key, ExecuteForEachEntryOf executeForEachEntryOf) Constructs a newSnmpGetSourceinstance with the provided attributes.- Parameters:
type- the type of the sourcecomputes- the list of compute operations to be appliedforceSerialization- flag indicating whether serialization should be forcedoid- the SNMP OID to retrieve datakey- the key associated with the sourceexecuteForEachEntryOf- the execute-for-each-entry-of information
-
-
Method Details
-
copy
Copy the current instance- Specified by:
copyin classSource- Returns:
- new
SnmpGetSourceinstance
-
toString
- Overrides:
toStringin classSnmpSource
-
accept
Description copied from class:SourceAccepts a source processor to perform processing on the source.
-