public class IntrospectValidationSensorKeyProducer extends AbstractSensorKeyProducer
| Constructor and Description |
|---|
IntrospectValidationSensorKeyProducer(java.lang.String contextId,
java.lang.String saslMechanism,
java.net.URI uri) |
| Modifier and Type | Method and Description |
|---|---|
SensorKey |
errorKey(java.lang.Throwable e)
Generate a SensorKey for the sensor representing the failed requests
|
SensorKey |
successKey()
Generate a SensorKey for the sensor representing the successful requests
|
public IntrospectValidationSensorKeyProducer(java.lang.String contextId,
java.lang.String saslMechanism,
java.net.URI uri)
public SensorKey successKey()
SensorKeyProducerpublic SensorKey errorKey(java.lang.Throwable e)
SensorKeyProducere - The Throwable object to go with the failureCopyright © 2022. All rights reserved.