public class ClientEndpoint extends Object implements EntryListener, InstanceListener, MembershipListener, ConnectionListener, ClientHandlerService.ClientListener, Client
| Modifier and Type | Method and Description |
|---|---|
void |
addRequest(ClientRequestHandler clientRequestHandler) |
void |
addThisAsListener(IMap map,
Data key,
boolean includeValue) |
void |
addThisAsListener(MultiMap<Object,Object> multiMap,
Data key,
boolean includeValue) |
void |
attachDetachPermits(String name,
int permits) |
void |
authenticated() |
void |
connectionAdded(Connection connection) |
void |
connectionRemoved(Connection connection) |
void |
entryAdded(EntryEvent event)
Invoked when an entry is added.
|
void |
entryEvicted(EntryEvent event)
Invoked when an entry is evicted.
|
void |
entryRemoved(EntryEvent event)
Invoked when an entry is removed.
|
void |
entryUpdated(EntryEvent event)
Invoked when an entry is updated.
|
CallContext |
getCallContext(int threadId) |
ClientType |
getClientType() |
LoginContext |
getLoginContext() |
SocketAddress |
getSocketAddress() |
Subject |
getSubject() |
DistributedTask |
getTask(long taskId) |
int |
hashCode() |
void |
instanceCreated(InstanceEvent event) |
void |
instanceDestroyed(InstanceEvent event) |
boolean |
isAuthenticated() |
void |
memberAdded(MembershipEvent membershipEvent)
Invoked when a new member is added to the cluster.
|
void |
memberRemoved(MembershipEvent membershipEvent)
Invoked when an existing member leaves the cluster.
|
void |
removeRequest(ClientRequestHandler clientRequestHandler) |
void |
removeTask(long callId) |
void |
removeThisListener(IMap map,
Data key) |
void |
removeThisListener(MultiMap multiMap,
Data key) |
void |
setLoginContext(LoginContext loginContext) |
void |
storeTask(long callId,
DistributedTask task) |
public CallContext getCallContext(int threadId)
public void addThisAsListener(MultiMap<Object,Object> multiMap, Data key, boolean includeValue)
public void entryAdded(EntryEvent event)
EntryListenerentryAdded in interface EntryListenerevent - entry eventpublic void entryEvicted(EntryEvent event)
EntryListenerentryEvicted in interface EntryListenerevent - entry eventpublic void entryRemoved(EntryEvent event)
EntryListenerentryRemoved in interface EntryListenerevent - entry eventpublic void entryUpdated(EntryEvent event)
EntryListenerentryUpdated in interface EntryListenerevent - entry eventpublic void instanceCreated(InstanceEvent event)
instanceCreated in interface InstanceListenerpublic void instanceDestroyed(InstanceEvent event)
instanceDestroyed in interface InstanceListenerpublic void memberAdded(MembershipEvent membershipEvent)
MembershipListenermemberAdded in interface MembershipListenermembershipEvent - membership eventpublic void memberRemoved(MembershipEvent membershipEvent)
MembershipListenermemberRemoved in interface MembershipListenermembershipEvent - membership eventpublic void connectionAdded(Connection connection)
connectionAdded in interface ConnectionListenerpublic void connectionRemoved(Connection connection)
connectionRemoved in interface ConnectionListenerpublic void attachDetachPermits(String name, int permits)
public void storeTask(long callId,
DistributedTask task)
public void removeTask(long callId)
public DistributedTask getTask(long taskId)
public void addRequest(ClientRequestHandler clientRequestHandler)
public void removeRequest(ClientRequestHandler clientRequestHandler)
public void setLoginContext(LoginContext loginContext)
public LoginContext getLoginContext()
public Subject getSubject()
public void authenticated()
public boolean isAuthenticated()
public SocketAddress getSocketAddress()
getSocketAddress in interface Clientpublic ClientType getClientType()
getClientType in interface ClientCopyright © 2013 Hazelcast, Inc.. All rights reserved.