Spring Data for VMware GemFire
Package org.springframework.data.gemfire
Class SubscriptionAttributesFactoryBean
java.lang.Object
org.springframework.data.gemfire.SubscriptionAttributesFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<org.apache.geode.cache.SubscriptionAttributes>,org.springframework.beans.factory.InitializingBean
public class SubscriptionAttributesFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<org.apache.geode.cache.SubscriptionAttributes>, org.springframework.beans.factory.InitializingBean
Spring
FactoryBean used for defining and constructing an Apache Geode SubscriptionAttributes object,
which determines the subscription policy used by cache Regions declaring their data interests.- Since:
- 1.3.0
- See Also:
-
InterestPolicySubscriptionAttributesFactoryBeanInitializingBean
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.apache.geode.cache.InterestPolicyGets GemFire's InterestPolicy specified on the SubscriptionAttributes which defines data interests and distribution of changes.org.apache.geode.cache.SubscriptionAttributesClass<?>booleanvoidsetInterestPolicy(org.apache.geode.cache.InterestPolicy interestPolicy) Sets GemFire's InterestPolicy specified on the SubscriptionAttributes in order to define/declare the data interests and distribution of changes.
-
Constructor Details
-
SubscriptionAttributesFactoryBean
public SubscriptionAttributesFactoryBean()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getObject
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<org.apache.geode.cache.SubscriptionAttributes>- Throws:
Exception
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<org.apache.geode.cache.SubscriptionAttributes>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<org.apache.geode.cache.SubscriptionAttributes>
-
setInterestPolicy
public void setInterestPolicy(org.apache.geode.cache.InterestPolicy interestPolicy) Sets GemFire's InterestPolicy specified on the SubscriptionAttributes in order to define/declare the data interests and distribution of changes.- Parameters:
interestPolicy- the GemFire InterestsPolicy to set for Subscription.- See Also:
-
InterestPolicySubscriptionAttributes(InterestPolicy)
-
getInterestPolicy
public org.apache.geode.cache.InterestPolicy getInterestPolicy()Gets GemFire's InterestPolicy specified on the SubscriptionAttributes which defines data interests and distribution of changes.- Returns:
- the GemFire InterestsPolicy set for Subscription.
- See Also:
-
InterestPolicySubscriptionAttributes.getInterestPolicy()
-