public class GatewaySenderFactoryBean extends AbstractWANComponentFactoryBean<org.apache.geode.cache.wan.GatewaySender>
FactoryBean
for creating a parallel or serial GemFire GatewaySender
.AbstractWANComponentFactoryBean
,
Cache
,
Gateway
,
GatewaySender
,
GatewaySenderFactory
cache, factory, log, VALID_ORDER_POLICIES
Constructor and Description |
---|
GatewaySenderFactoryBean(org.apache.geode.cache.Cache cache)
Constructs an instance of the
GatewaySenderFactoryBean class initialized with a reference to
the GemFire Cache used to configured and initialized a GemFire GatewaySender . |
Modifier and Type | Method and Description |
---|---|
protected void |
doInit() |
org.apache.geode.cache.wan.GatewaySender |
getObject() |
Class<?> |
getObjectType() |
boolean |
isNotPersistent() |
boolean |
isParallelGatewaySender() |
boolean |
isPersistent() |
boolean |
isSerialGatewaySender() |
void |
setAlertThreshold(Integer alertThreshold) |
void |
setBatchConflationEnabled(Boolean batchConflationEnabled) |
void |
setBatchSize(Integer batchSize) |
void |
setBatchTimeInterval(Integer batchTimeInterval) |
void |
setDiskStoreRef(String diskStoreRef) |
void |
setDiskSynchronous(Boolean diskSynchronous) |
void |
setDispatcherThreads(Integer dispatcherThreads) |
void |
setEnableBatchConflation(Boolean enableBatchConflation)
Deprecated.
use setBatchConflationEnabled(Boolean)
|
void |
setEventFilters(List<org.apache.geode.cache.wan.GatewayEventFilter> gatewayEventFilters) |
void |
setEventSubstitutionFilter(org.apache.geode.cache.wan.GatewayEventSubstitutionFilter eventSubstitutionFilter) |
void |
setManualStart(Boolean manualStart) |
void |
setMaximumQueueMemory(Integer maximumQueueMemory) |
void |
setOrderPolicy(String orderPolicy) |
void |
setParallel(Boolean parallel) |
void |
setPersistent(Boolean persistent) |
void |
setRemoteDistributedSystemId(int remoteDistributedSystemId) |
void |
setSocketBufferSize(Integer socketBufferSize) |
void |
setSocketReadTimeout(Integer socketReadTimeout) |
void |
setTransportFilters(List<org.apache.geode.cache.wan.GatewayTransportFilter> gatewayTransportFilters) |
afterPropertiesSet, destroy, getName, isSingleton, setBeanName, setFactory, setName
public GatewaySenderFactoryBean(org.apache.geode.cache.Cache cache)
GatewaySenderFactoryBean
class initialized with a reference to
the GemFire Cache
used to configured and initialized a GemFire GatewaySender
.cache
- reference to the GemFire Cache
used to create the GemFire GatewaySender
.Cache
protected void doInit()
doInit
in class AbstractWANComponentFactoryBean<org.apache.geode.cache.wan.GatewaySender>
public org.apache.geode.cache.wan.GatewaySender getObject() throws Exception
getObject
in interface FactoryBean<org.apache.geode.cache.wan.GatewaySender>
getObject
in class AbstractWANComponentFactoryBean<org.apache.geode.cache.wan.GatewaySender>
Exception
public Class<?> getObjectType()
getObjectType
in interface FactoryBean<org.apache.geode.cache.wan.GatewaySender>
getObjectType
in class AbstractWANComponentFactoryBean<org.apache.geode.cache.wan.GatewaySender>
public void setAlertThreshold(Integer alertThreshold)
public void setBatchConflationEnabled(Boolean batchConflationEnabled)
@Deprecated public void setEnableBatchConflation(Boolean enableBatchConflation)
enableBatchConflation
- a boolean value indicating whether GemFire should conflate messages in the Queue.setBatchConflationEnabled(Boolean)
public void setBatchSize(Integer batchSize)
public void setBatchTimeInterval(Integer batchTimeInterval)
public void setDiskStoreRef(String diskStoreRef)
public void setDiskSynchronous(Boolean diskSynchronous)
public void setDispatcherThreads(Integer dispatcherThreads)
public void setEventFilters(List<org.apache.geode.cache.wan.GatewayEventFilter> gatewayEventFilters)
public void setEventSubstitutionFilter(org.apache.geode.cache.wan.GatewayEventSubstitutionFilter eventSubstitutionFilter)
public void setManualStart(Boolean manualStart)
public void setMaximumQueueMemory(Integer maximumQueueMemory)
public void setOrderPolicy(String orderPolicy)
public void setParallel(Boolean parallel)
public boolean isSerialGatewaySender()
public boolean isParallelGatewaySender()
public void setPersistent(Boolean persistent)
public boolean isNotPersistent()
public boolean isPersistent()
public void setRemoteDistributedSystemId(int remoteDistributedSystemId)
public void setSocketBufferSize(Integer socketBufferSize)
public void setSocketReadTimeout(Integer socketReadTimeout)
public void setTransportFilters(List<org.apache.geode.cache.wan.GatewayTransportFilter> gatewayTransportFilters)
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.