Package org.apache.ignite.client.events
Class RequestSuccessEvent
- java.lang.Object
- 
- org.apache.ignite.client.events.RequestEvent
- 
- org.apache.ignite.client.events.RequestSuccessEvent
 
 
- 
 public class RequestSuccessEvent extends RequestEvent 
- 
- 
Constructor SummaryConstructors Constructor Description RequestSuccessEvent(ConnectionDescription conn, long requestId, short opCode, String opName, long elapsedTimeNanos)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description longelapsedTime(TimeUnit timeUnit)Get the elapsed time of the request.- 
Methods inherited from class org.apache.ignite.client.events.RequestEventconnectionDescription, operationCode, operationName, requestId
 
- 
 
- 
- 
- 
Constructor Detail- 
RequestSuccessEventpublic RequestSuccessEvent(ConnectionDescription conn, long requestId, short opCode, String opName, long elapsedTimeNanos) - Parameters:
- conn- Connection description.
- requestId- Request id.
- opCode- Operation code.
- opName- Operation name.
- elapsedTimeNanos- Elapsed time in nanoseconds.
 
 
- 
 - 
Method Detail- 
elapsedTimepublic long elapsedTime(TimeUnit timeUnit) Get the elapsed time of the request.- Parameters:
- timeUnit- Desired time unit in which to return the elapsed time.
- Returns:
- The elapsed time.
 
 
- 
 
-