public class RequestFailEvent extends RequestEvent
Constructor and Description |
---|
RequestFailEvent(ConnectionDescription conn,
long requestId,
short opCode,
String opName,
long elapsedTimeNanos,
Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
long |
elapsedTime(TimeUnit timeUnit)
Get the elapsed time of the request.
|
Throwable |
throwable()
Get a cause of the failure.
|
connectionDescription, operationCode, operationName, requestId
public RequestFailEvent(ConnectionDescription conn, long requestId, short opCode, String opName, long elapsedTimeNanos, Throwable throwable)
conn
- Connection description.requestId
- Request id.opCode
- Operation code.opName
- Operation name.elapsedTimeNanos
- Elapsed time in nanoseconds.throwable
- Throwable that caused the failure.public long elapsedTime(TimeUnit timeUnit)
timeUnit
- Desired time unit in which to return the elapsed time.public Throwable throwable()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023