Package com.hazelcast.client
Interface Client
- All Superinterfaces:
- Endpoint
The Client interface allows to get information about
 a connected client's socket address, type and UUID.
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionType could be a client type fromConnectionTypeor it can be a custom client implementation with a name outside of this @{link ConnectionType}getName()This method may return null depending on the client version and the client type Java client provides client name starting with 3.12Returns the socket address of this client.getUuid()Returns a unique UUID for this client.
- 
Method Details- 
getUuidUUID getUuid()Returns a unique UUID for this client.
- 
getSocketAddressInetSocketAddress getSocketAddress()Returns the socket address of this client.- Specified by:
- getSocketAddressin interface- Endpoint
- Returns:
- the socket address of this client
 
- 
getClientTypeString getClientType()Type could be a client type fromConnectionTypeor it can be a custom client implementation with a name outside of this @{link ConnectionType}- Returns:
- the type of this client
 
- 
getNameString getName()This method may return null depending on the client version and the client type Java client provides client name starting with 3.12- Returns:
- the name of this client if provided, null otherwise
- Since:
- 3.12
 
- 
getLabels- Returns:
- read only set of all labels of this client.
- Since:
- 3.12
 
 
-