Class GatewaySenderFactoryBean
java.lang.Object
org.springframework.data.gemfire.support.AbstractFactoryBeanSupport<T>
org.springframework.data.gemfire.wan.AbstractWANComponentFactoryBean<GatewaySender>
org.springframework.data.gemfire.wan.GatewaySenderFactoryBean
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,BeanNameAware
,DisposableBean
,FactoryBean<GatewaySender>
,InitializingBean
Spring
FactoryBean
used to construct, configure and initialize parallel and serial
GatewaySenders
.- Since:
- 1.2.2
- Author:
- David Turanski, John Blum, Udo Kohlmeyer
- See Also:
-
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
ConstructorDescriptionConstructs 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()
Class<?>
int
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<GatewayEventFilter> eventFilters) void
setEventSubstitutionFilter
(GatewayEventSubstitutionFilter eventSubstitutionFilter) void
setGatewaySender
(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
(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<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, getLog, getOptionalLog, isDebugLoggingEnabled, isErrorLoggingEnabled, isInfoLoggingEnabled, isSingleton, isWarnLoggingEnabled, logDebug, logDebug, logError, logError, logInfo, logInfo, logWarning, logWarning, newLog, setBeanClassLoader, setBeanFactory
-
Constructor Details
-
GatewaySenderFactoryBean
public GatewaySenderFactoryBean() -
GatewaySenderFactoryBean
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:
-
-
Method Details
-
doInit
protected void doInit()- Specified by:
doInit
in classAbstractWANComponentFactoryBean<GatewaySender>
-
getObject
- Throws:
Exception
-
getObjectType
-
setGatewaySender
-
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
-
getEventSubstitutionFilter
-
setGroupTransactionEvents
-
getGroupTransactionEvents
-
setManualStart
Deprecated. -
setManualStart
Deprecated. -
isManualStart
public boolean isManualStart() -
setMaximumQueueMemory
-
getMaximumQueueMemory
-
setOrderPolicy
-
setOrderPolicy
-
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
-
getTransportFilters
-