public class EventListenerDemultiplexer extends Object
| Modifier and Type | Method and Description |
|---|---|
static EventListenerDemultiplexer |
create(ClientConfiguration cfg)
Creates an event listener demultiplexer.
|
void |
onConnectionClosed(ConnectionDescription conn,
Throwable throwable) |
void |
onHandshakeFail(ConnectionDescription conn,
long elapsedTimeNanos,
Throwable throwable) |
void |
onHandshakeStart(ConnectionDescription conn) |
void |
onHandshakeSuccess(ConnectionDescription conn,
long elapsedTimeNanos) |
void |
onRequestFail(ConnectionDescription conn,
long requestId,
short opCode,
String opName,
long elapsedTimeNanos,
Throwable throwable) |
void |
onRequestStart(ConnectionDescription conn,
long requestId,
short opCode,
String opName) |
void |
onRequestSuccess(ConnectionDescription conn,
long requestId,
short opCode,
String opName,
long elapsedTimeNanos) |
public static EventListenerDemultiplexer create(ClientConfiguration cfg)
cfg - Client configuration.public void onRequestStart(ConnectionDescription conn, long requestId, short opCode, String opName)
conn - Connection description.requestId - Request id.opCode - Operation code.opName - Operation name.public void onRequestSuccess(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 void onRequestFail(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 void onHandshakeStart(ConnectionDescription conn)
conn - Connection description.public void onHandshakeSuccess(ConnectionDescription conn, long elapsedTimeNanos)
conn - Connection description.elapsedTimeNanos - Elapsed time in nanoseconds.public void onHandshakeFail(ConnectionDescription conn, long elapsedTimeNanos, Throwable throwable)
conn - Connection description.elapsedTimeNanos - Elapsed time in nanoseconds.throwable - Throwable that caused the failure.public void onConnectionClosed(ConnectionDescription conn, Throwable throwable)
conn - Connection description.throwable - Throwable that caused the failure if any.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023