Spring Data for VMware GemFire
Class KeyInterest<K>
java.lang.Object
org.springframework.data.gemfire.client.Interest<K>
org.springframework.data.gemfire.client.KeyInterest<K>
- Type Parameters:
K-Classtype of the key.
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
Cache Region interest based on individual keys.
- 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
ConstructorsConstructorDescriptionKeyInterest(K key) KeyInterest(K key, org.apache.geode.cache.InterestResultPolicy policy) KeyInterest(K key, org.apache.geode.cache.InterestResultPolicy policy, boolean durable) KeyInterest(K key, org.apache.geode.cache.InterestResultPolicy policy, boolean durable, boolean receiveValues) -
Method Summary
Modifier and TypeMethodDescriptiongetType()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
afterPropertiesSet, 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
-
KeyInterest
-
KeyInterest
-
KeyInterest
-
KeyInterest
public KeyInterest(K key, org.apache.geode.cache.InterestResultPolicy policy, boolean durable, boolean receiveValues)
-
-
Method Details
-
getType
Description copied from class:InterestReturns the type of interest registration (e.g. based on KEY or Regex).- Overrides:
getTypein classInterest<K>- 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<K>- Parameters:
type-Interest.Typequalifying the type of interest.- See Also:
-