Spring Data for VMware GemFire
Class RegexInterest
java.lang.Object
org.springframework.data.gemfire.client.Interest<String>
org.springframework.data.gemfire.client.RegexInterest
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
Cache interest based on regular expression rather then individual key types.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.gemfire.client.Interest
Interest.Type -
Field Summary
Fields inherited from class org.springframework.data.gemfire.client.Interest
ALL_KEYS, DEFAULT_DURABLE, DEFAULT_RECEIVE_VALUES, logger -
Constructor Summary
ConstructorsConstructorDescriptionRegexInterest(String regex) RegexInterest(String regex, org.apache.geode.cache.InterestResultPolicy policy) RegexInterest(String regex, org.apache.geode.cache.InterestResultPolicy policy, boolean durable) RegexInterest(String regex, org.apache.geode.cache.InterestResultPolicy policy, boolean durable, boolean receiveValues) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetRegex()Returns the Regular Expression sent to the cache server to express interests in keys matching Regex pattern.getType()Returns the type of interest registration (e.g.voidsetType(Interest.Type type) Set the type of interest registration (e.g.Methods inherited from class org.springframework.data.gemfire.client.Interest
asType, containsNonAlphaNumericWhitespace, getKey, getPolicy, isAlphaNumericWhitespace, isDurable, isKeyType, isNotAlphaNumericWhitespace, isReceiveValues, isRegexType, isRegularExpression, isRegularExpression, makeDurable, newInterest, receivesValues, resolveType, setDurable, setKey, setPolicy, setReceiveValues, toString, usingPolicy, withKey
-
Constructor Details
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Overrides:
afterPropertiesSetin classInterest<String>
-
getRegex
Returns the Regular Expression sent to the cache server to express interests in keys matching Regex pattern. Alias forInterest.getKey().- Returns:
- the Regex pattern used in the interest registration.
- See Also:
-
Region.registerInterestRegex(String)
-
getType
Description copied from class:InterestReturns the type of interest registration (e.g. based on KEY or Regex).- Overrides:
getTypein classInterest<String>- Returns:
- a
Interest.Typedetermining the type of interest. - See Also:
-
setType
Description copied from class:InterestSet the type of interest registration (e.g. based on KEY or Regex).- Overrides:
setTypein classInterest<String>- Parameters:
type-Interest.Typequalifying the type of interest.- See Also:
-