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 ClientConnectionManager
public void shutdown()
shutdown
in interface ClientConnectionManager
public void markOwnerAddressAsClosed()
public ClientConnection ownerConnection(Address address) throws Exception
ownerConnection
in interface ClientConnectionManager
Exception
public ClientConnection tryToConnect(Address target) throws Exception
tryToConnect
in interface ClientConnectionManager
Exception
public ClientPrincipal getPrincipal()
public void destroyConnection(ClientConnection clientConnection)
public boolean removeEventHandler(Integer callId)
removeEventHandler
in interface ClientConnectionManager
public void handlePacket(ClientPacket packet)
public int newCallId()
public Object sendAndReceive(ClientRequest request, ClientConnection connection) throws Exception
Exception
Copyright © 2014 Hazelcast, Inc.. All rights reserved.