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:
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
ConstructorsConstructorDescriptionKeyInterest(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).voidsetType(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: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:
-