|
GemFire 6.6.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ClientSession
Class ClientSession represents a client session on the server.
The methods in this class should only be invoked by server entities.
| Method Summary | |
|---|---|
boolean |
isPrimary()
Returns whether this server is the primary for this client |
void |
registerInterest(String regionName,
Object keyOfInterest,
InterestResultPolicy policy,
boolean isDurable)
Registers interest in a particular region and key |
void |
registerInterest(String regionName,
Object keyOfInterest,
InterestResultPolicy policy,
boolean isDurable,
boolean receiveValues)
Registers interest in a particular region and key |
void |
unregisterInterest(String regionName,
Object keyOfInterest,
boolean isDurable)
Unregisters interest in a particular region and key |
void |
unregisterInterest(String regionName,
Object keyOfInterest,
boolean isDurable,
boolean receiveValues)
Unregisters interest in a particular region and key |
| Method Detail |
|---|
void registerInterest(String regionName,
Object keyOfInterest,
InterestResultPolicy policy,
boolean isDurable)
regionName - The name of the region in which to unregister interestkeyOfInterest - The key to unregister interestpolicy - The InterestResultPolicyisDurable - Whether the interest is durable
IllegalStateException - if this is not the primary server for the given client
void registerInterest(String regionName,
Object keyOfInterest,
InterestResultPolicy policy,
boolean isDurable,
boolean receiveValues)
regionName - The name of the region in which to unregister interestkeyOfInterest - The key to unregister interestpolicy - The InterestResultPolicyisDurable - Whether the interest is durablereceiveValues - defaults to true. set to false to receive create or update events
as invalidates similar to notify-by-subscription false.
IllegalStateException - if this is not the primary server for the given client
void unregisterInterest(String regionName,
Object keyOfInterest,
boolean isDurable)
regionName - The name of the region in which to unregister interestkeyOfInterest - The key to unregister interestisDurable - Whether the interest is durable
IllegalStateException - if this is not the primary server for the given client
void unregisterInterest(String regionName,
Object keyOfInterest,
boolean isDurable,
boolean receiveValues)
regionName - The name of the region in which to unregister interestkeyOfInterest - The key to unregister interestisDurable - Whether the interest is durablereceiveValues - defaults to true. set to false to receive create or update events
as invalidates similar to notify-by-subscription false.
IllegalStateException - if this is not the primary server for the given clientboolean isPrimary()
|
GemFire 6.6.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||