public class Interest<K> extends Object implements InitializingBean
InitializingBean
,
InterestResultPolicy
Constructor and Description |
---|
Interest() |
Interest(K key) |
Interest(K key,
com.gemstone.gemfire.cache.InterestResultPolicy policy) |
Interest(K key,
com.gemstone.gemfire.cache.InterestResultPolicy policy,
boolean durable) |
Interest(K key,
com.gemstone.gemfire.cache.InterestResultPolicy policy,
boolean durable,
boolean receiveValues) |
Interest(K key,
String policy) |
Interest(K key,
String policy,
boolean durable) |
Interest(K key,
String policy,
boolean durable,
boolean receiveValues) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
K |
getKey()
Returns the key of interest.
|
com.gemstone.gemfire.cache.InterestResultPolicy |
getPolicy()
Returns the interest policy.
|
boolean |
isDurable()
Returns the interest durability.
|
boolean |
isReceiveValues()
Returns the type of values received by the listener.
|
void |
setDurable(boolean durable)
Sets the interest durability.
|
void |
setKey(K key)
Sets the key of interest.
|
void |
setPolicy(Object policy)
Sets the interest policy.
|
void |
setReceiveValues(boolean receiveValues)
Switches between the different entities received by the listener.
|
public Interest()
public Interest(K key)
public Interest(K key, com.gemstone.gemfire.cache.InterestResultPolicy policy)
public Interest(K key, com.gemstone.gemfire.cache.InterestResultPolicy policy, boolean durable)
public Interest(K key, com.gemstone.gemfire.cache.InterestResultPolicy policy, boolean durable, boolean receiveValues)
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
public K getKey()
public void setKey(K key)
key
- the key to setpublic com.gemstone.gemfire.cache.InterestResultPolicy getPolicy()
public void setPolicy(Object policy)
policy
- the policy to setpublic boolean isDurable()
public void setDurable(boolean durable)
durable
- the durable to setpublic boolean isReceiveValues()
public void setReceiveValues(boolean receiveValues)
receiveValues
- the receiveValues to set