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:
-
InterestPolicy
SubscriptionAttributes
FactoryBean
InitializingBean
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
org.apache.geode.cache.InterestPolicy
Gets GemFire's InterestPolicy specified on the SubscriptionAttributes which defines data interests and distribution of changes.org.apache.geode.cache.SubscriptionAttributes
Class<?>
boolean
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.
-
Constructor Details
-
SubscriptionAttributesFactoryBean
public SubscriptionAttributesFactoryBean()
-
-
Method Details
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
getObject
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<org.apache.geode.cache.SubscriptionAttributes>
- Throws:
Exception
-
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<org.apache.geode.cache.SubscriptionAttributes>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in 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:
-
InterestPolicy
SubscriptionAttributes(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:
-
InterestPolicy
SubscriptionAttributes.getInterestPolicy()
-