Class ResponseEnvelope<T extends Response<?,?>> 
java.lang.Object
org.opendaylight.controller.cluster.access.concepts.Envelope<T>
org.opendaylight.controller.cluster.access.concepts.ResponseEnvelope<T>
- All Implemented Interfaces:
 Serializable,Immutable
- Direct Known Subclasses:
 FailureEnvelope,SuccessEnvelope
public abstract sealed class ResponseEnvelope<T extends Response<?,?>> 
extends Envelope<T>
permits FailureEnvelope, SuccessEnvelope
- See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptionfinal longReturn the time the request took to execute in nanoseconds.Methods inherited from class org.opendaylight.controller.cluster.access.concepts.Envelope
getMessage, getSessionId, getTxSequence, toString 
- 
Method Details
- 
getExecutionTimeNanos
public final long getExecutionTimeNanos()Return the time the request took to execute in nanoseconds. This may not reflect the actual CPU time, but rather a measure of the complexity involved in servicing the original request.- Returns:
 - Time the request took to execute in nanoseconds
 
 
 -