Constructor and Description |
---|
ClientImpl(String uuid,
InetSocketAddress socketAddress,
String name,
Set<String> labels) |
Modifier and Type | Method and Description |
---|---|
ClientType |
getClientType()
Returns the type of this client.
|
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.
|
public ClientImpl(String uuid, InetSocketAddress socketAddress, 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
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.