public class GatewaySenderWrapper extends Object implements org.apache.geode.cache.wan.GatewaySender
GatewaySenderWrapper
is an Adapter around a GatewaySender
providing the ability to control
manual start and stop.Gateway
,
GatewaySender
CONNECTION_RETRY_INTERVAL, DEFAULT_ALERT_THRESHOLD, DEFAULT_BATCH_CONFLATION, DEFAULT_BATCH_SIZE, DEFAULT_BATCH_TIME_INTERVAL, DEFAULT_DISK_SYNCHRONOUS, DEFAULT_DISPATCHER_THREADS, DEFAULT_DISTRIBUTED_SYSTEM_ID, DEFAULT_FORWARD_EXPIRATION_DESTROY, DEFAULT_IS_FOR_INTERNAL_USE, DEFAULT_IS_PARALLEL, DEFAULT_MANUAL_START, DEFAULT_MAXIMUM_QUEUE_MEMORY, DEFAULT_ORDER_POLICY, DEFAULT_PARALLELISM_REPLICATED_REGION, DEFAULT_PERSISTENCE_ENABLED, DEFAULT_SOCKET_BUFFER_SIZE, DEFAULT_SOCKET_READ_TIMEOUT, EARLY_ACK, GATEWAY_CONNECTION_IDLE_TIMEOUT, GATEWAY_CONNECTION_READ_TIMEOUT_PROPERTY, GATEWAY_SENDER_TIMEOUT, MINIMUM_SOCKET_READ_TIMEOUT, QUEUE_OPLOG_SIZE, REMOVE_FROM_QUEUE_ON_EXCEPTION
Constructor and Description |
---|
GatewaySenderWrapper(org.apache.geode.cache.wan.GatewaySender gatewaySender)
Constructs an instance of
GatewaySenderWrapper initialized with the given GatewaySender to adapt. |
Modifier and Type | Method and Description |
---|---|
void |
addGatewayEventFilter(org.apache.geode.cache.wan.GatewayEventFilter filter) |
void |
destroy() |
int |
getAlertThreshold() |
int |
getBatchSize() |
int |
getBatchTimeInterval() |
String |
getDiskStoreName() |
int |
getDispatcherThreads() |
List<org.apache.geode.cache.wan.GatewayEventFilter> |
getGatewayEventFilters() |
org.apache.geode.cache.wan.GatewayEventSubstitutionFilter |
getGatewayEventSubstitutionFilter() |
List<org.apache.geode.cache.wan.GatewayTransportFilter> |
getGatewayTransportFilters() |
String |
getId() |
int |
getMaximumQueueMemory() |
int |
getMaxParallelismForReplicatedRegion() |
org.apache.geode.cache.wan.GatewaySender.OrderPolicy |
getOrderPolicy() |
int |
getRemoteDSId() |
int |
getSocketBufferSize() |
int |
getSocketReadTimeout() |
boolean |
isBatchConflationEnabled() |
boolean |
isDiskSynchronous() |
boolean |
isManualStart() |
boolean |
isParallel() |
boolean |
isPaused() |
boolean |
isPersistenceEnabled() |
boolean |
isRunning() |
void |
pause() |
void |
rebalance() |
void |
removeGatewayEventFilter(org.apache.geode.cache.wan.GatewayEventFilter filter) |
void |
resume() |
void |
setManualStart(boolean manualStart) |
void |
start() |
void |
stop() |
String |
toString() |
public GatewaySenderWrapper(org.apache.geode.cache.wan.GatewaySender gatewaySender)
GatewaySenderWrapper
initialized with the given GatewaySender
to adapt.gatewaySender
- GatewaySender
to adapt.IllegalArgumentException
- if GatewaySender
is null.GatewaySender
public boolean isBatchConflationEnabled()
isBatchConflationEnabled
in interface org.apache.geode.cache.wan.GatewaySender
public boolean isDiskSynchronous()
isDiskSynchronous
in interface org.apache.geode.cache.wan.GatewaySender
public boolean isManualStart()
isManualStart
in interface org.apache.geode.cache.wan.GatewaySender
public boolean isParallel()
isParallel
in interface org.apache.geode.cache.wan.GatewaySender
public boolean isPaused()
isPaused
in interface org.apache.geode.cache.wan.GatewaySender
public boolean isPersistenceEnabled()
isPersistenceEnabled
in interface org.apache.geode.cache.wan.GatewaySender
public boolean isRunning()
isRunning
in interface org.apache.geode.cache.wan.GatewaySender
public int getAlertThreshold()
getAlertThreshold
in interface org.apache.geode.cache.wan.GatewaySender
public int getBatchSize()
getBatchSize
in interface org.apache.geode.cache.wan.GatewaySender
public int getBatchTimeInterval()
getBatchTimeInterval
in interface org.apache.geode.cache.wan.GatewaySender
public String getDiskStoreName()
getDiskStoreName
in interface org.apache.geode.cache.wan.GatewaySender
public int getDispatcherThreads()
getDispatcherThreads
in interface org.apache.geode.cache.wan.GatewaySender
public List<org.apache.geode.cache.wan.GatewayEventFilter> getGatewayEventFilters()
getGatewayEventFilters
in interface org.apache.geode.cache.wan.GatewaySender
public org.apache.geode.cache.wan.GatewayEventSubstitutionFilter getGatewayEventSubstitutionFilter()
getGatewayEventSubstitutionFilter
in interface org.apache.geode.cache.wan.GatewaySender
public List<org.apache.geode.cache.wan.GatewayTransportFilter> getGatewayTransportFilters()
getGatewayTransportFilters
in interface org.apache.geode.cache.wan.GatewaySender
public String getId()
getId
in interface org.apache.geode.cache.wan.GatewaySender
public void setManualStart(boolean manualStart)
public int getMaxParallelismForReplicatedRegion()
getMaxParallelismForReplicatedRegion
in interface org.apache.geode.cache.wan.GatewaySender
public int getMaximumQueueMemory()
getMaximumQueueMemory
in interface org.apache.geode.cache.wan.GatewaySender
public org.apache.geode.cache.wan.GatewaySender.OrderPolicy getOrderPolicy()
getOrderPolicy
in interface org.apache.geode.cache.wan.GatewaySender
public int getRemoteDSId()
getRemoteDSId
in interface org.apache.geode.cache.wan.GatewaySender
public int getSocketBufferSize()
getSocketBufferSize
in interface org.apache.geode.cache.wan.GatewaySender
public int getSocketReadTimeout()
getSocketReadTimeout
in interface org.apache.geode.cache.wan.GatewaySender
public void addGatewayEventFilter(org.apache.geode.cache.wan.GatewayEventFilter filter)
addGatewayEventFilter
in interface org.apache.geode.cache.wan.GatewaySender
public void removeGatewayEventFilter(org.apache.geode.cache.wan.GatewayEventFilter filter)
removeGatewayEventFilter
in interface org.apache.geode.cache.wan.GatewaySender
public void destroy()
destroy
in interface org.apache.geode.cache.wan.GatewaySender
public void pause()
pause
in interface org.apache.geode.cache.wan.GatewaySender
public void rebalance()
rebalance
in interface org.apache.geode.cache.wan.GatewaySender
public void resume()
resume
in interface org.apache.geode.cache.wan.GatewaySender
public void start()
start
in interface org.apache.geode.cache.wan.GatewaySender
public void stop()
stop
in interface org.apache.geode.cache.wan.GatewaySender
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.