public class RequestSuccessEvent extends RequestEvent
Constructor and Description |
---|
RequestSuccessEvent(ConnectionDescription conn,
long requestId,
short opCode,
String opName,
long elapsedTimeNanos) |
Modifier and Type | Method and Description |
---|---|
long |
elapsedTime(TimeUnit timeUnit)
Get the elapsed time of the request.
|
connectionDescription, operationCode, operationName, requestId
public RequestSuccessEvent(ConnectionDescription conn, long requestId, short opCode, String opName, long elapsedTimeNanos)
conn
- Connection description.requestId
- Request id.opCode
- Operation code.opName
- Operation name.elapsedTimeNanos
- Elapsed time in nanoseconds.public long elapsedTime(TimeUnit timeUnit)
timeUnit
- Desired time unit in which to return the elapsed time.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024