VMware GemFire Java API Reference
Package org.apache.geode.cache
Interface InterestRegistrationEvent
-
public interface InterestRegistrationEventInterfaceInterestRegistrationEventencapsulated interest event information like region and keys of interest.- Since:
- GemFire 6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClientSessiongetClientSession()Returns theClientSessionthat initiated this eventintgetInterestType()Returns this event's interest type.java.util.Set<?>getKeysOfInterest()Returns aSetof keys of interest.Region<?,?>getRegion()Returns the region to which this interest belongs.java.lang.StringgetRegionName()Returns the name of the region to which this interest event belongs.booleanisKey()Returns whether this event's interest type isInterestType.KEY.booleanisRegister()Returns whether this event represents a register interest.booleanisRegularExpression()Returns whether this event's interest type isInterestType.REGULAR_EXPRESSION.
-
-
-
Method Detail
-
getRegionName
java.lang.String getRegionName()
Returns the name of the region to which this interest event belongs.- Returns:
- the name of the region to which this interest event belongs
-
getRegion
Region<?,?> getRegion()
Returns the region to which this interest belongs.- Returns:
- the region to which this interest belongs
-
getKeysOfInterest
java.util.Set<?> getKeysOfInterest()
Returns aSetof keys of interest.- Returns:
- a
Setof keys of interest
-
getInterestType
int getInterestType()
Returns this event's interest type.- Returns:
- this event's interest type
-
isRegister
boolean isRegister()
Returns whether this event represents a register interest.- Returns:
- whether this event represents a register interest
-
isKey
boolean isKey()
Returns whether this event's interest type isInterestType.KEY.- Returns:
- whether this event's interest type is
InterestType.KEY
-
isRegularExpression
boolean isRegularExpression()
Returns whether this event's interest type isInterestType.REGULAR_EXPRESSION.- Returns:
- whether this event's interest type is
InterestType.REGULAR_EXPRESSION
-
getClientSession
ClientSession getClientSession()
Returns theClientSessionthat initiated this event- Returns:
- the
ClientSessionthat initiated this event
-
-