public class RegexInterest extends Interest<String>
Interest
Interest.Type
ALL_KEYS, DEFAULT_DURABLE, DEFAULT_RECEIVE_VALUES, logger
Constructor and Description |
---|
RegexInterest(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) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
String |
getRegex()
Returns the Regular Expression sent to the cache server to express interests in keys matching Regex pattern.
|
Interest.Type |
getType()
Returns the type of interest registration (e.g. based on KEY or Regex).
|
void |
setType(Interest.Type type)
Set the type of interest registration (e.g. based on KEY or Regex).
|
asType, containsNonAlphaNumericWhitespace, getKey, getPolicy, isAlphaNumericWhitespace, isDurable, isKeyType, isNotAlphaNumericWhitespace, isReceiveValues, isRegexType, isRegularExpression, isRegularExpression, makeDurable, newInterest, receivesValues, resolveType, setDurable, setKey, setPolicy, setReceiveValues, toString, usingPolicy, withKey
public RegexInterest(String regex)
public RegexInterest(String regex, org.apache.geode.cache.InterestResultPolicy policy)
public RegexInterest(String regex, org.apache.geode.cache.InterestResultPolicy policy, boolean durable)
public RegexInterest(String regex, org.apache.geode.cache.InterestResultPolicy policy, boolean durable, boolean receiveValues)
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
afterPropertiesSet
in class Interest<String>
public String getRegex()
Interest.getKey()
.Region.registerInterestRegex(String)
public Interest.Type getType()
Interest
getType
in class Interest<String>
Interest.Type
determining the type of interest.Interest.Type
public void setType(Interest.Type type)
Interest
setType
in class Interest<String>
type
- Interest.Type
qualifying the type of interest.Interest.Type
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.