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)
EntryListener
entryAdded
in interface EntryListener
event
- entry eventpublic void entryEvicted(EntryEvent event)
EntryListener
entryEvicted
in interface EntryListener
event
- entry eventpublic void entryRemoved(EntryEvent event)
EntryListener
entryRemoved
in interface EntryListener
event
- entry eventpublic void entryUpdated(EntryEvent event)
EntryListener
entryUpdated
in interface EntryListener
event
- entry eventpublic void instanceCreated(InstanceEvent event)
instanceCreated
in interface InstanceListener
public void instanceDestroyed(InstanceEvent event)
instanceDestroyed
in interface InstanceListener
public void memberAdded(MembershipEvent membershipEvent)
MembershipListener
memberAdded
in interface MembershipListener
membershipEvent
- membership eventpublic void memberRemoved(MembershipEvent membershipEvent)
MembershipListener
memberRemoved
in interface MembershipListener
membershipEvent
- membership eventpublic void connectionAdded(Connection connection)
connectionAdded
in interface ConnectionListener
public void connectionRemoved(Connection connection)
connectionRemoved
in interface ConnectionListener
public 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 Client
public ClientType getClientType()
getClientType
in interface Client
Copyright © 2013 Hazelcast, Inc.. All rights reserved.