public interface ClientEndpointManager
ClientEndpoints.
 All the methods are thread-safe.| Modifier and Type | Method and Description | 
|---|---|
void | 
clear()
Removes all endpoints. 
 | 
ClientEndpoint | 
getEndpoint(Connection connection)
Gets the endpoint for a given connection. 
 | 
Collection<ClientEndpoint> | 
getEndpoints()
Returns the current endpoints. 
 | 
Set<ClientEndpoint> | 
getEndpoints(String clientUuid)
Gets all the endpoints for a given client. 
 | 
boolean | 
registerEndpoint(ClientEndpoint endpoint)
Registers an endpoint with this ClientEndpointManager. 
 | 
void | 
removeEndpoint(ClientEndpoint endpoint)
Removes an endpoint from this ClientEndpointManager. 
 | 
int | 
size()
Returns the current number of endpoints. 
 | 
Collection<ClientEndpoint> getEndpoints()
ClientEndpoint getEndpoint(Connection connection)
connection - the connection to the endpoint.NullPointerException - if connection is null.Set<ClientEndpoint> getEndpoints(String clientUuid)
clientUuid - the UUID of the clientNullPointerException - if clientUuid is null.int size()
void clear()
boolean registerEndpoint(ClientEndpoint endpoint)
endpoint - the endpoint to register.NullPointerException - if endpoint is null.void removeEndpoint(ClientEndpoint endpoint)
endpoint - the endpoint to remove.NullPointerException - if endpoint is null.Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.