|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hazelcast.client.ClientEngineImpl
public class ClientEngineImpl
Field Summary | |
---|---|
static int |
DESTROY_ENDPOINT_DELAY_MS
|
static int |
ENDPOINT_REMOVE_DELAY_MS
|
static int |
RIDICULOUS_THREADS_PER_CORE
|
static String |
SERVICE_NAME
|
static int |
THREADS_PER_CORE
|
Constructor Summary | |
---|---|
ClientEngineImpl(com.hazelcast.instance.Node node)
|
Method Summary | |
---|---|
void |
dispatchEvent(ClientEndpoint event,
ClientListener listener)
|
int |
getClientEndpointCount()
|
Collection<Client> |
getClients()
|
ClientService |
getClientService()
|
ClusterService |
getClusterService()
|
Config |
getConfig()
|
com.hazelcast.nio.ConnectionListener |
getConnectionListener()
|
EventService |
getEventService()
|
com.hazelcast.instance.MemberImpl |
getLocalMember()
|
com.hazelcast.logging.ILogger |
getLogger(Class clazz)
|
com.hazelcast.logging.ILogger |
getLogger(String className)
|
com.hazelcast.nio.Address |
getMasterAddress()
|
com.hazelcast.partition.InternalPartitionService |
getPartitionService()
|
ProxyService |
getProxyService()
|
SecurityContext |
getSecurityContext()
|
SerializationService |
getSerializationService()
|
com.hazelcast.nio.Address |
getThisAddress()
|
TransactionManagerService |
getTransactionManagerService()
|
void |
handlePacket(com.hazelcast.nio.ClientPacket packet)
|
void |
init(NodeEngine nodeEngine,
Properties properties)
Initializes the ManagedService |
void |
memberAdded(MembershipServiceEvent event)
Invoked when a new member is added to the cluster. |
void |
memberAttributeChanged(MemberAttributeServiceEvent event)
Invoked when a member attribute is changed. |
void |
memberRemoved(MembershipServiceEvent event)
Invoked when an existing member leaves the cluster. |
void |
reset()
reset service, back to initial state |
void |
shutdown(boolean terminate)
Shuts down the ManagedService. |
Data |
toData(Object obj)
|
Object |
toObject(Data data)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SERVICE_NAME
public static final int DESTROY_ENDPOINT_DELAY_MS
public static final int ENDPOINT_REMOVE_DELAY_MS
public static final int THREADS_PER_CORE
public static final int RIDICULOUS_THREADS_PER_CORE
Constructor Detail |
---|
public ClientEngineImpl(com.hazelcast.instance.Node node)
Method Detail |
---|
public com.hazelcast.nio.ConnectionListener getConnectionListener()
public int getClientEndpointCount()
getClientEndpointCount
in interface ClientEngine
public void handlePacket(com.hazelcast.nio.ClientPacket packet)
public Object toObject(Data data)
toObject
in interface ClientEngine
public Data toData(Object obj)
toData
in interface ClientEngine
public com.hazelcast.partition.InternalPartitionService getPartitionService()
getPartitionService
in interface ClientEngine
public ClusterService getClusterService()
getClusterService
in interface ClientEngine
public SerializationService getSerializationService()
getSerializationService
in interface ClientEngine
public EventService getEventService()
getEventService
in interface ClientEngine
public ProxyService getProxyService()
getProxyService
in interface ClientEngine
public TransactionManagerService getTransactionManagerService()
getTransactionManagerService
in interface ClientEngine
public com.hazelcast.nio.Address getMasterAddress()
getMasterAddress
in interface ClientEngine
public com.hazelcast.nio.Address getThisAddress()
getThisAddress
in interface ClientEngine
public com.hazelcast.instance.MemberImpl getLocalMember()
getLocalMember
in interface ClientEngine
public Config getConfig()
getConfig
in interface ClientEngine
public com.hazelcast.logging.ILogger getLogger(Class clazz)
getLogger
in interface ClientEngine
public com.hazelcast.logging.ILogger getLogger(String className)
getLogger
in interface ClientEngine
public SecurityContext getSecurityContext()
getSecurityContext
in interface ClientEngine
public void dispatchEvent(ClientEndpoint event, ClientListener listener)
dispatchEvent
in interface EventPublishingService<ClientEndpoint,ClientListener>
public void memberAdded(MembershipServiceEvent event)
MembershipAwareService
memberAdded
in interface MembershipAwareService
public void memberRemoved(MembershipServiceEvent event)
MembershipAwareService
memberRemoved
in interface MembershipAwareService
public void memberAttributeChanged(MemberAttributeServiceEvent event)
MembershipAwareService
memberAttributeChanged
in interface MembershipAwareService
public ClientService getClientService()
public Collection<Client> getClients()
public void init(NodeEngine nodeEngine, Properties properties)
ManagedService
init
in interface ManagedService
nodeEngine
- the NodeEngine this ManagedService is initialized with.properties
- the Propertiespublic void reset()
ManagedService
reset
in interface ManagedService
public void shutdown(boolean terminate)
ManagedService
shutdown
in interface ManagedService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |