public class VisorNodeDataCollectorTaskArg extends VisorDataTransferObject
V1, V2, V3, V4| Constructor and Description |
|---|
VisorNodeDataCollectorTaskArg()
Default constructor.
|
VisorNodeDataCollectorTaskArg(boolean taskMonitoringEnabled,
String evtOrderKey,
String evtThrottleCntrKey,
boolean sysCaches)
Create task arguments with given parameters.
|
VisorNodeDataCollectorTaskArg(boolean taskMonitoringEnabled,
String evtOrderKey,
String evtThrottleCntrKey,
boolean sysCaches,
boolean collectCacheMetrics)
Create task arguments with given parameters.
|
VisorNodeDataCollectorTaskArg(boolean taskMonitoringEnabled,
String evtOrderKey,
String evtThrottleCntrKey,
boolean sysCaches,
boolean collectCacheMetrics,
Set<String> cacheGrps)
Create task arguments with given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getCacheGroups() |
String |
getEventsOrderKey() |
String |
getEventsThrottleCounterKey() |
byte |
getProtocolVersion() |
boolean |
getSystemCaches() |
boolean |
isCollectCacheMetrics() |
boolean |
isTaskMonitoringEnabled() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
void |
setCacheGroups(Set<String> cacheGrps) |
void |
setCollectCacheMetrics(boolean collectCacheMetrics) |
void |
setEventsOrderKey(String evtOrderKey) |
void |
setEventsThrottleCounterKey(String evtThrottleCntrKey) |
void |
setSystemCaches(boolean sysCaches) |
void |
setTaskMonitoringEnabled(boolean taskMonitoringEnabled) |
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
readExternal, toList, toSet, writeExternalpublic VisorNodeDataCollectorTaskArg()
public VisorNodeDataCollectorTaskArg(boolean taskMonitoringEnabled,
String evtOrderKey,
String evtThrottleCntrKey,
boolean sysCaches,
boolean collectCacheMetrics,
Set<String> cacheGrps)
taskMonitoringEnabled - If true then Visor should collect information about tasks.evtOrderKey - Event order key, unique for Visor instance.evtThrottleCntrKey - Event throttle counter key, unique for Visor instance.sysCaches - If true then collect information about system caches.collectCacheMetrics - If false then cache metrics will not be collected.cacheGrps - Optional Set of cache groups, if provided, then caches only from that groups will be collected.public VisorNodeDataCollectorTaskArg(boolean taskMonitoringEnabled,
String evtOrderKey,
String evtThrottleCntrKey,
boolean sysCaches,
boolean collectCacheMetrics)
taskMonitoringEnabled - If true then Visor should collect information about tasks.evtOrderKey - Event order key, unique for Visor instance.evtThrottleCntrKey - Event throttle counter key, unique for Visor instance.sysCaches - If true then collect information about system caches.collectCacheMetrics - If false then cache metrics will not be collected.public VisorNodeDataCollectorTaskArg(boolean taskMonitoringEnabled,
String evtOrderKey,
String evtThrottleCntrKey,
boolean sysCaches)
taskMonitoringEnabled - If true then Visor should collect information about tasks.evtOrderKey - Event order key, unique for Visor instance.evtThrottleCntrKey - Event throttle counter key, unique for Visor instance.sysCaches - If true then collect information about system caches.public boolean isTaskMonitoringEnabled()
true if Visor should collect information about tasks.public void setTaskMonitoringEnabled(boolean taskMonitoringEnabled)
taskMonitoringEnabled - If true then Visor should collect information about tasks.public String getEventsOrderKey()
public void setEventsOrderKey(String evtOrderKey)
evtOrderKey - Key for store and read last event order number.public String getEventsThrottleCounterKey()
public void setEventsThrottleCounterKey(String evtThrottleCntrKey)
evtThrottleCntrKey - Key for store and read events throttle counter.public boolean getSystemCaches()
true if Visor should collect metrics for system caches.public void setSystemCaches(boolean sysCaches)
sysCaches - true if Visor should collect metrics for system caches.public boolean isCollectCacheMetrics()
false then cache metrics will not be collected.public void setCollectCacheMetrics(boolean collectCacheMetrics)
collectCacheMetrics - If false then cache metrics will not be collected.public Set<String> getCacheGroups()
public void setCacheGroups(Set<String> cacheGrps)
cacheGrps - Optional Set of cache groups, if provided, then caches only from that groups will be collected.public byte getProtocolVersion()
getProtocolVersion in class VisorDataTransferObjectprotected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData in class VisorDataTransferObjectout - Output object to write data content.IOException - If I/O errors occur.protected void readExternalData(byte protoVer,
ObjectInput in)
throws IOException,
ClassNotFoundException
readExternalData in class VisorDataTransferObjectprotoVer - Input object version.in - Input object to load data content.IOException - If I/O errors occur.ClassNotFoundException - If the class for an object being restored cannot be found.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021