Class GatewaySenderFactoryBean
java.lang.Object
org.springframework.data.gemfire.support.AbstractFactoryBeanSupport<T>
org.springframework.data.gemfire.wan.AbstractWANComponentFactoryBean<org.apache.geode.cache.wan.GatewaySender>
org.springframework.data.gemfire.wan.GatewaySenderFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.FactoryBean<org.apache.geode.cache.wan.GatewaySender>
,org.springframework.beans.factory.InitializingBean
public class GatewaySenderFactoryBean
extends AbstractWANComponentFactoryBean<org.apache.geode.cache.wan.GatewaySender>
Spring
FactoryBean
used to construct, configure and initialize parallel and serial
GatewaySenders
.- Since:
- 1.2.2
- See Also:
-
Cache
GemFireCache
GatewayEventFilter
GatewayEventSubstitutionFilter
GatewaySender
GatewaySenderFactory
GatewayTransportFilter
FactoryBean
GatewaySenderConfigurer
AbstractWANComponentFactoryBean
-
Field Summary
Fields inherited from class org.springframework.data.gemfire.wan.AbstractWANComponentFactoryBean
cache, factory, logger
Fields inherited from class org.springframework.data.gemfire.support.AbstractFactoryBeanSupport
DEFAULT_SINGLETON
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
ConstructorDescriptionGatewaySenderFactoryBean
(org.apache.geode.cache.GemFireCache cache) Constructs an instance of theGatewaySenderFactoryBean
class initialized with a reference to the GemFireCache
used to configured and initialized a GemFireGatewaySender
. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
doInit()
List<org.apache.geode.cache.wan.GatewayEventFilter>
org.apache.geode.cache.wan.GatewayEventSubstitutionFilter
org.apache.geode.cache.wan.GatewaySender
org.apache.geode.cache.wan.GatewaySender
Class<?>
org.apache.geode.cache.wan.GatewaySender.OrderPolicy
int
List<org.apache.geode.cache.wan.GatewayTransportFilter>
boolean
boolean
boolean
boolean
boolean
void
setAlertThreshold
(Integer alertThreshold) void
setBatchConflationEnabled
(Boolean batchConflationEnabled) void
setBatchSize
(Integer batchSize) void
setBatchTimeInterval
(Integer batchTimeInterval) void
setDiskStoreRef
(String diskStoreRef) void
setDiskStoreReference
(String diskStoreReference) void
setDiskSynchronous
(Boolean diskSynchronous) void
setDispatcherThreads
(Integer dispatcherThreads) void
setEnforceThreadsConnectToSameReceiver
(Boolean enforceThreadsConnectToSameReceiver) void
setEventFilters
(List<org.apache.geode.cache.wan.GatewayEventFilter> eventFilters) void
setEventSubstitutionFilter
(org.apache.geode.cache.wan.GatewayEventSubstitutionFilter eventSubstitutionFilter) void
setGatewaySender
(org.apache.geode.cache.wan.GatewaySender gatewaySender) void
setGatewaySenderConfigurers
(List<GatewaySenderConfigurer> gatewaySenderConfigurers) void
setGroupTransactionEvents
(Boolean groupTransactionEvents) void
setManualStart
(boolean manualStart) Deprecated.void
setManualStart
(Boolean manualStart) Deprecated.void
setMaximumQueueMemory
(Integer maximumQueueMemory) void
setOrderPolicy
(org.apache.geode.cache.wan.GatewaySender.OrderPolicy orderPolicy) void
setOrderPolicy
(OrderPolicyType orderPolicy) void
setParallel
(Boolean parallel) void
setPersistent
(Boolean persistent) void
setRegions
(String[] regions) void
setRegions
(List<String> regions) void
setRemoteDistributedSystemId
(int remoteDistributedSystemId) void
setSocketBufferSize
(Integer socketBufferSize) void
setSocketReadTimeout
(Integer socketReadTimeout) void
setTransportFilters
(List<org.apache.geode.cache.wan.GatewayTransportFilter> transportFilters) Methods inherited from class org.springframework.data.gemfire.wan.AbstractWANComponentFactoryBean
afterPropertiesSet, destroy, getCache, getName, setBeanName, setCache, setFactory, setName
Methods inherited from class org.springframework.data.gemfire.support.AbstractFactoryBeanSupport
getBeanClassLoader, getBeanFactory, getBeanName, getLogger, getOptionalLogger, isDebugLoggingEnabled, isErrorLoggingEnabled, isInfoLoggingEnabled, isSingleton, isWarnLoggingEnabled, logDebug, logDebug, logError, logError, logInfo, logInfo, logWarning, logWarning, newLogger, setBeanClassLoader, setBeanFactory
-
Constructor Details
-
GatewaySenderFactoryBean
public GatewaySenderFactoryBean() -
GatewaySenderFactoryBean
public GatewaySenderFactoryBean(org.apache.geode.cache.GemFireCache cache) Constructs an instance of theGatewaySenderFactoryBean
class initialized with a reference to the GemFireCache
used to configured and initialized a GemFireGatewaySender
.- Parameters:
cache
- reference to the GemFireCache
used to create the GemFireGatewaySender
.- See Also:
-
Cache
-
-
Method Details
-
doInit
protected void doInit()- Specified by:
doInit
in classAbstractWANComponentFactoryBean<org.apache.geode.cache.wan.GatewaySender>
-
getObject
- Throws:
Exception
-
getObjectType
-
setGatewaySender
public void setGatewaySender(@Nullable org.apache.geode.cache.wan.GatewaySender gatewaySender) -
getGatewaySender
@Nullable public org.apache.geode.cache.wan.GatewaySender getGatewaySender() -
setGatewaySenderConfigurers
public void setGatewaySenderConfigurers(@NonNull List<GatewaySenderConfigurer> gatewaySenderConfigurers) -
setAlertThreshold
-
getAlertThreshold
-
setBatchConflationEnabled
-
getBatchConflationEnabled
-
setBatchSize
-
getBatchSize
-
setBatchTimeInterval
-
getBatchTimeInterval
-
setDiskStoreRef
-
setDiskStoreReference
-
getDiskStoreReference
-
setDiskSynchronous
-
getDiskSynchronous
-
setDispatcherThreads
-
getDispatcherThreads
-
setEnforceThreadsConnectToSameReceiver
-
getEnforceThreadsConnectToSameReceiver
-
setEventFilters
-
getEventFilters
-
setEventSubstitutionFilter
public void setEventSubstitutionFilter(org.apache.geode.cache.wan.GatewayEventSubstitutionFilter eventSubstitutionFilter) -
getEventSubstitutionFilter
public org.apache.geode.cache.wan.GatewayEventSubstitutionFilter getEventSubstitutionFilter() -
setGroupTransactionEvents
-
getGroupTransactionEvents
-
setManualStart
Deprecated. -
setManualStart
Deprecated. -
isManualStart
public boolean isManualStart() -
setMaximumQueueMemory
-
getMaximumQueueMemory
-
setOrderPolicy
public void setOrderPolicy(org.apache.geode.cache.wan.GatewaySender.OrderPolicy orderPolicy) -
setOrderPolicy
-
getOrderPolicy
public org.apache.geode.cache.wan.GatewaySender.OrderPolicy getOrderPolicy() -
setParallel
-
isParallelGatewaySender
public boolean isParallelGatewaySender() -
isSerialGatewaySender
public boolean isSerialGatewaySender() -
setPersistent
-
isPersistent
public boolean isPersistent() -
isNotPersistent
public boolean isNotPersistent() -
setRemoteDistributedSystemId
public void setRemoteDistributedSystemId(int remoteDistributedSystemId) -
setRegions
-
setRegions
-
getRegions
-
getRemoteDistributedSystemId
public int getRemoteDistributedSystemId() -
setSocketBufferSize
-
getSocketBufferSize
-
setSocketReadTimeout
-
getSocketReadTimeout
-
setTransportFilters
public void setTransportFilters(List<org.apache.geode.cache.wan.GatewayTransportFilter> transportFilters) -
getTransportFilters
-