|
||||||||||
| 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 ClientEnginepublic void handlePacket(com.hazelcast.nio.ClientPacket packet)
public Object toObject(Data data)
toObject in interface ClientEnginepublic Data toData(Object obj)
toData in interface ClientEnginepublic com.hazelcast.partition.InternalPartitionService getPartitionService()
getPartitionService in interface ClientEnginepublic ClusterService getClusterService()
getClusterService in interface ClientEnginepublic SerializationService getSerializationService()
getSerializationService in interface ClientEnginepublic EventService getEventService()
getEventService in interface ClientEnginepublic ProxyService getProxyService()
getProxyService in interface ClientEnginepublic TransactionManagerService getTransactionManagerService()
getTransactionManagerService in interface ClientEnginepublic com.hazelcast.nio.Address getMasterAddress()
getMasterAddress in interface ClientEnginepublic com.hazelcast.nio.Address getThisAddress()
getThisAddress in interface ClientEnginepublic com.hazelcast.instance.MemberImpl getLocalMember()
getLocalMember in interface ClientEnginepublic Config getConfig()
getConfig in interface ClientEnginepublic com.hazelcast.logging.ILogger getLogger(Class clazz)
getLogger in interface ClientEnginepublic com.hazelcast.logging.ILogger getLogger(String className)
getLogger in interface ClientEnginepublic 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 MembershipAwareServicepublic void memberRemoved(MembershipServiceEvent event)
MembershipAwareService
memberRemoved in interface MembershipAwareServicepublic void memberAttributeChanged(MemberAttributeServiceEvent event)
MembershipAwareService
memberAttributeChanged in interface MembershipAwareServicepublic ClientService getClientService()
public Collection<Client> getClients()
public void init(NodeEngine nodeEngine,
Properties properties)
ManagedService
init in interface ManagedServicenodeEngine - the NodeEngine this ManagedService is initialized with.properties - the Propertiespublic void reset()
ManagedService
reset in interface ManagedServicepublic 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 | |||||||||