public class ClientListenerMetrics extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
METRIC_ACEPTED
Number of successfully established sessions.
|
static String |
METRIC_ACTIVE
Number of active sessions.
|
static String |
METRIC_REJECTED_AUTHENTICATION
Handshakes rejected by authentication metric label.
|
static String |
METRIC_REJECTED_TIMEOUT
Handshakes rejected by timeout metric label.
|
static String |
METRIC_REJECTED_TOTAL
Total number of rejected handshakes.
|
| Constructor and Description |
|---|
ClientListenerMetrics(GridKernalContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
onDisconnect(byte clientType)
Callback invoked when client is disconnected.
|
void |
onFailedAuth()
Callback invoked when authentication is failed.
|
void |
onGeneralReject()
Callback invoked when handshake is rejected.
|
void |
onHandshakeAccept(byte clientType)
Callback invoked when handshake is accepted.
|
void |
onHandshakeTimeout()
Callback invoked when handshake is timed out.
|
public static final String METRIC_REJECTED_TIMEOUT
public static final String METRIC_REJECTED_AUTHENTICATION
public static final String METRIC_REJECTED_TOTAL
public static final String METRIC_ACEPTED
public static final String METRIC_ACTIVE
public ClientListenerMetrics(GridKernalContext ctx)
ctx - Kernal context.public void onHandshakeTimeout()
public void onFailedAuth()
public void onGeneralReject()
public void onHandshakeAccept(byte clientType)
clientType - Client type.public void onDisconnect(byte clientType)
clientType - Client type.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021