public class ClientEndpointManagerImpl extends Object implements ClientEndpointManager
ClientEndpointImpls.| Constructor and Description | 
|---|
| ClientEndpointManagerImpl(NodeEngine nodeEngine) | 
| 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 clientEndpoint)Removes an endpoint from this ClientEndpointManager. | 
| int | size()Returns the current number of endpoints. | 
public ClientEndpointManagerImpl(NodeEngine nodeEngine)
public Set<ClientEndpoint> getEndpoints(String clientUuid)
ClientEndpointManagergetEndpoints in interface ClientEndpointManagerclientUuid - the UUID of the clientpublic ClientEndpoint getEndpoint(Connection connection)
ClientEndpointManagergetEndpoint in interface ClientEndpointManagerconnection - the connection to the endpoint.public boolean registerEndpoint(ClientEndpoint endpoint)
ClientEndpointManagerregisterEndpoint in interface ClientEndpointManagerendpoint - the endpoint to register.public void removeEndpoint(ClientEndpoint clientEndpoint)
ClientEndpointManagerremoveEndpoint in interface ClientEndpointManagerclientEndpoint - the endpoint to remove.public void clear()
ClientEndpointManagerclear in interface ClientEndpointManagerpublic Collection<ClientEndpoint> getEndpoints()
ClientEndpointManagergetEndpoints in interface ClientEndpointManagerpublic int size()
ClientEndpointManagersize in interface ClientEndpointManagerCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.