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
,MutationBehaviour<Immutable>
- Direct Known Subclasses:
FailureEnvelope
,SuccessEnvelope
public abstract class ResponseEnvelope<T extends Response<?,?>> extends Envelope<T>
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getExecutionTimeNanos()
Return 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 Detail
-
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
-
-