public final class RemoteDependencyTelemetry extends BaseTelemetry<RemoteDependencyData>
| Constructor and Description |
|---|
RemoteDependencyTelemetry()
Default Ctor
|
RemoteDependencyTelemetry(java.lang.String name)
Initializes an instance with a 'name'
|
RemoteDependencyTelemetry(java.lang.String dependencyName,
java.lang.String commandName,
Duration duration,
boolean success)
Initializes an instnace with the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
additionalSanitize()
Concrete classes should implement this method
|
java.lang.Boolean |
getAsync()
Gets the Async property.
|
java.lang.String |
getCommandName()
Gets the command name.
|
java.lang.Integer |
getCount()
Gets the Count property.
|
protected RemoteDependencyData |
getData()
Concrete classes should implement this method which supplies the
data structure that this instance works with, which needs to implement
SendableData |
DependencyKind |
getDependencyKind()
Gets the Dependency Kind property.
|
DependencySourceType |
getDependencySource()
Gets the Dependency Source property.
|
Duration |
getDuration()
Gets the duration.
|
java.lang.Double |
getMax()
Gets the Max property.
|
java.lang.Double |
getMin()
Gets the Min property.
|
java.lang.String |
getName()
Gets tne name resource name.
|
java.lang.Double |
getStdDev()
Gets the Standard Deviation property.
|
boolean |
getSuccess()
Gets the Success property.
|
void |
setAsync(java.lang.Boolean value)
Sets the Async property.
|
void |
setCommandName(java.lang.String commandName)
Sets the command name.
|
void |
setCount(java.lang.Integer value)
Sets the Count property.
|
void |
setDependencyKind(DependencyKind value)
Sets the Dependency Kind property.
|
void |
setDependencySource(DependencySourceType value)
Sets the Dependency Source property.
|
void |
setDuration(Duration duration)
Sets the duration.
|
void |
setMax(java.lang.Double value)
Sets the Max property.
|
void |
setMin(java.lang.Double value)
Sets the Min property.
|
void |
setName(java.lang.String name)
Sets the resource name.
|
void |
setStdDev(java.lang.Double value)
Sets the StdDev property.
|
void |
setSuccess(boolean value)
Sets the Success property.
|
getContext, getProperties, getSequence, getTimestamp, initialize, sanitize, serialize, setSequence, setTimestamppublic RemoteDependencyTelemetry()
public RemoteDependencyTelemetry(java.lang.String name)
name - The resource name.public RemoteDependencyTelemetry(java.lang.String dependencyName,
java.lang.String commandName,
Duration duration,
boolean success)
dependencyName - The dependency name.commandName - The command name.duration - The durationsuccess - Whether the remote call successful or not.public java.lang.String getName()
public void setName(java.lang.String name)
name - The resource name.public java.lang.String getCommandName()
public void setCommandName(java.lang.String commandName)
commandName - The command name.public java.lang.Integer getCount()
public void setCount(java.lang.Integer value)
value - Count property.public java.lang.Double getMin()
public void setMin(java.lang.Double value)
value - Min property.public java.lang.Double getMax()
public void setMax(java.lang.Double value)
value - Max property.public java.lang.Double getStdDev()
public void setStdDev(java.lang.Double value)
value - Standard Deviation property.public DependencyKind getDependencyKind()
public void setDependencyKind(DependencyKind value)
value - Dependency Kind property.public boolean getSuccess()
public void setSuccess(boolean value)
value - True if success.public java.lang.Boolean getAsync()
public void setAsync(java.lang.Boolean value)
value - True if async.public DependencySourceType getDependencySource()
public void setDependencySource(DependencySourceType value)
value - Dependency Source property.public Duration getDuration()
public void setDuration(Duration duration)
duration - The duration.protected void additionalSanitize()
BaseTelemetryadditionalSanitize in class BaseTelemetry<RemoteDependencyData>protected RemoteDependencyData getData()
BaseTelemetrySendableDatagetData in class BaseTelemetry<RemoteDependencyData>