public class RegexInterest extends Interest<String>
InterestInterest.TypeALL_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, withKeypublic 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 InitializingBeanafterPropertiesSet in class Interest<String>public String getRegex()
Interest.getKey().Region.registerInterestRegex(String)public Interest.Type getType()
InterestgetType in class Interest<String>Interest.Type determining the type of interest.Interest.Typepublic void setType(Interest.Type type)
InterestsetType in class Interest<String>type - Interest.Type qualifying the type of interest.Interest.TypeCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.