public interface InterestRegistrationEvent
InterestRegistrationEvent encapsulated interest event information like
region and keys of interest.| Modifier and Type | Method and Description |
|---|---|
ClientSession |
getClientSession()
Returns the
ClientSession that initiated this event |
int |
getInterestType()
Returns this event's interest type.
|
Set<?> |
getKeysOfInterest()
Returns a
Set of keys of interest. |
Region<?,?> |
getRegion()
Returns the region to which this interest belongs.
|
String |
getRegionName()
Returns the name of the region to which this interest event belongs.
|
boolean |
isKey()
Returns whether this event's interest type is
InterestType.KEY. |
boolean |
isRegister()
Returns whether this event represents a register interest.
|
boolean |
isRegularExpression()
Returns whether this event's interest type is
InterestType.REGULAR_EXPRESSION. |
String getRegionName()
Region<?,?> getRegion()
Set<?> getKeysOfInterest()
Set of keys of interest.Set of keys of interestint getInterestType()
boolean isRegister()
boolean isKey()
InterestType.KEY.InterestType.KEYboolean isRegularExpression()
InterestType.REGULAR_EXPRESSION.InterestType.REGULAR_EXPRESSIONClientSession getClientSession()
ClientSession that initiated this eventClientSession that initiated this event