public class VisorTracingConfigurationTaskArg extends VisorTracingConfigurationItem
VisorTracingConfigurationTask.| Constructor and Description |
|---|
VisorTracingConfigurationTaskArg()
Default constructor.
|
VisorTracingConfigurationTaskArg(VisorTracingConfigurationOperation op,
Scope scope,
String lb,
Double samplingRate,
Set<Scope> includedScopes)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
VisorTracingConfigurationOperation |
operation() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
equals, includedScopes, label, samplingRate, scopegetProtocolVersion, readExternal, toList, toSet, writeExternalpublic VisorTracingConfigurationTaskArg()
public VisorTracingConfigurationTaskArg(VisorTracingConfigurationOperation op, Scope scope, String lb, Double samplingRate, Set<Scope> includedScopes)
op - Operation.scope - Specifies the Scope of a trace's root span to which some specific tracing configuration will be applied.lb - Specifies the label of a traced operation. It's an optional attribute.samplingRate - Number between 0 and 1 that more or less reflects the probability of sampling specific trace.
0 and 1 have special meaning here, 0 means never 1 means always. Default value is 0 (never).includedScopes - Set of Scope that defines which sub-traces will be included in given trace.
In other words, if child's span scope is equals to parent's scope
or it belongs to the parent's span included scopes, then given child span will be attached to the current trace,
otherwise it'll be skipped.
See Span.isChainable(Scope) for more details.public VisorTracingConfigurationOperation operation()
protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData in class VisorTracingConfigurationItemout - 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 VisorTracingConfigurationItemprotoVer - 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.public String toString()
toString in class VisorTracingConfigurationItem
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021