public class ClientConnectionManagerImpl extends Object implements ClientConnectionManager
| Modifier and Type | Class and Description |
|---|---|
class |
ClientConnectionManagerImpl.ManagerAuthenticator |
| Modifier and Type | Field and Description |
|---|---|
static int |
BUFFER_SIZE |
| Constructor and Description |
|---|
ClientConnectionManagerImpl(HazelcastClient client,
LoadBalancer loadBalancer) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroyConnection(ClientConnection clientConnection) |
ClientPrincipal |
getPrincipal() |
SerializationContext |
getSerializationContext() |
SerializationService |
getSerializationService() |
void |
handlePacket(ClientPacket packet) |
boolean |
isLive() |
void |
markOwnerAddressAsClosed() |
int |
newCallId() |
ClientConnection |
ownerConnection(Address address) |
boolean |
removeEventHandler(Integer callId) |
Object |
sendAndReceive(ClientRequest request,
ClientConnection connection) |
void |
shutdown() |
void |
start() |
ClientConnection |
tryToConnect(Address target) |
public static final int BUFFER_SIZE
public ClientConnectionManagerImpl(HazelcastClient client, LoadBalancer loadBalancer)
public boolean isLive()
public SerializationContext getSerializationContext()
public SerializationService getSerializationService()
public void start()
start in interface ClientConnectionManagerpublic void shutdown()
shutdown in interface ClientConnectionManagerpublic void markOwnerAddressAsClosed()
public ClientConnection ownerConnection(Address address) throws Exception
ownerConnection in interface ClientConnectionManagerExceptionpublic ClientConnection tryToConnect(Address target) throws Exception
tryToConnect in interface ClientConnectionManagerExceptionpublic ClientPrincipal getPrincipal()
public void destroyConnection(ClientConnection clientConnection)
public boolean removeEventHandler(Integer callId)
removeEventHandler in interface ClientConnectionManagerpublic void handlePacket(ClientPacket packet)
public int newCallId()
public Object sendAndReceive(ClientRequest request, ClientConnection connection) throws Exception
ExceptionCopyright © 2021 Hazelcast, Inc.. All rights reserved.