|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.gemfire.client.Interest<K>
public class Interest<K>
Basic holder class for registering an interest. Useful for configuring Gemfire caches through XML and or JavaBeans means.
Constructor Summary | |
---|---|
Interest()
|
|
Interest(K key)
|
|
Interest(K key,
InterestResultPolicy policy)
|
|
Interest(K key,
InterestResultPolicy policy,
boolean durable)
|
|
Interest(K key,
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)
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
protected K |
getKey()
Returns the key of interest. |
protected InterestResultPolicy |
getPolicy()
Returns the interest policy. |
protected boolean |
isDurable()
Returns the interest durability. |
protected 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Interest()
public Interest(K key)
public Interest(K key, InterestResultPolicy policy)
public Interest(K key, String policy)
public Interest(K key, String policy, boolean durable)
public Interest(K key, String policy, boolean durable, boolean receiveValues)
public Interest(K key, InterestResultPolicy policy, boolean durable)
public Interest(K key, InterestResultPolicy policy, boolean durable, boolean receiveValues)
Method Detail |
---|
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
protected K getKey()
public void setKey(K key)
key
- the key to setprotected InterestResultPolicy getPolicy()
public void setPolicy(Object policy)
policy
- the policy to setprotected boolean isDurable()
public void setDurable(boolean durable)
durable
- the durable to setprotected boolean isReceiveValues()
public void setReceiveValues(boolean receiveValues)
receiveValues
- the receiveValues to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |