Class KeyInterest<K>
java.lang.Object
org.springframework.data.gemfire.client.Interest<K>
org.springframework.data.gemfire.client.KeyInterest<K>
- Type Parameters:
K
-Class
type of the key.
- All Implemented Interfaces:
InitializingBean
Cache Region interest based on individual keys.
- Author:
- John Blum
- 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
ConstructorDescriptionKeyInterest
(K key) KeyInterest
(K key, InterestResultPolicy policy) KeyInterest
(K key, InterestResultPolicy policy, boolean durable) KeyInterest
(K key, InterestResultPolicy policy, boolean durable, boolean receiveValues) -
Method Summary
Modifier and TypeMethodDescriptiongetType()
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).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
-
-
Method Details
-
getType
Description copied from class:Interest
Returns the type of interest registration (e.g. based on KEY or Regex).- Overrides:
getType
in classInterest<K>
- Returns:
- a
Interest.Type
determining the type of interest. - See Also:
-
setType
Description copied from class:Interest
Set the type of interest registration (e.g. based on KEY or Regex).- Overrides:
setType
in classInterest<K>
- Parameters:
type
-Interest.Type
qualifying the type of interest.- See Also:
-