public class VisorNodeDataCollectorTaskArg extends VisorDataTransferObject
Constructor and Description |
---|
VisorNodeDataCollectorTaskArg()
Default constructor.
|
VisorNodeDataCollectorTaskArg(boolean taskMonitoringEnabled,
String evtOrderKey,
String evtThrottleCntrKey,
int sample,
boolean sysCaches)
Create task arguments with given parameters.
|
Modifier and Type | Method and Description |
---|---|
String |
getEventsOrderKey() |
String |
getEventsThrottleCounterKey() |
int |
getSample() |
boolean |
getSystemCaches() |
boolean |
isTaskMonitoringEnabled() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
void |
setEventsOrderKey(String evtOrderKey) |
void |
setEventsThrottleCounterKey(String evtThrottleCntrKey) |
void |
setSample(int sample) |
void |
setSystemCaches(boolean sysCaches) |
void |
setTaskMonitoringEnabled(boolean taskMonitoringEnabled) |
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
getProtocolVersion, readExternal, toList, writeExternal
public VisorNodeDataCollectorTaskArg()
public VisorNodeDataCollectorTaskArg(boolean taskMonitoringEnabled, String evtOrderKey, String evtThrottleCntrKey, int sample, 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.sample
- How many entries use in sampling.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 int getSample()
public void setSample(int sample)
sample
- Number of items to evaluate cache size.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.protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData
in class VisorDataTransferObject
out
- 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 VisorDataTransferObject
protoVer
- 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 Fabric : ver. 2.0.0 Release Date : April 30 2017