Constructor and Description |
---|
ClientEvent(String uuid,
ClientEventType eventType,
InetSocketAddress address,
ClientType clientType,
String name,
Set<String> labels) |
Modifier and Type | Method and Description |
---|---|
ClientType |
getClientType()
Returns the type of this client.
|
ClientEventType |
getEventType() |
Set<String> |
getLabels() |
String |
getName()
This method may return null depending on the client version and the client type
Java client provides client name starting with 3.12
|
InetSocketAddress |
getSocketAddress()
Returns the socket address of this client.
|
String |
getUuid()
Returns a unique UUID for this client.
|
String |
toString() |
public ClientEvent(String uuid, ClientEventType eventType, InetSocketAddress address, ClientType clientType, String name, Set<String> labels)
public String getUuid()
Client
public InetSocketAddress getSocketAddress()
Client
getSocketAddress
in interface Client
getSocketAddress
in interface Endpoint
public ClientType getClientType()
Client
getClientType
in interface Client
public String getName()
Client
public ClientEventType getEventType()
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.