Class ReplicationSettings
java.lang.Object
com.gigaspaces.internal.cluster.node.impl.config.ReplicationSettings
- All Implemented Interfaces:
IReplicationSettings,ISyncReplicationSettings
- Direct Known Subclasses:
MirrorChannelReplicationSettings,SpaceReplicationSettings
public class ReplicationSettings
extends Object
implements IReplicationSettings, ISyncReplicationSettings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintshortlonglonglonglonglongintintintbooleanbooleanisOneWay()booleanvoidsetBacklogWeightPolicy(String backlogWeightPolicy) voidsetBatchParallelFactor(int batchParallelFactor) voidsetBatchParallelThreshold(int batchParallelThreshold) voidsetBatchSize(int batchSize) voidsetBucketCount(short bucketCount) voidsetConsumeTimeout(long consumeTimeout) voidsetIdleDelay(long replicationInterval) voidsetLimitReachedPolicy(BacklogConfig.LimitReachedPolicy limitReachedPloicy) voidsetMaxRedoLogCapacity(long maxRedoLogCapacity) voidsetMaxRedoLogCapacityDuringRecovery(long maxRedoLogCapacityDuringRecovery) voidsetMaxRedoLogMemoryCapacity(long maxRedoLogMemoryCapacity) voidsetMaxThrottleTPWhenInactive(int maxThrottleTPWhenInactive) voidsetMinThrottleTPWhenActive(int minThrottleTPWhenActive) voidsetOneWay(boolean isOneWay) voidsetOperationsReplicationThreshold(int operationsReplicationThreshold) voidsetProcessindType(ReplicationProcessingType processindType) voidsetRedoLogCompaction(RedoLogCompaction redoLogCompaction) voidsetThrottleWhenInactive(boolean throttleWhenInactive) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.internal.cluster.node.impl.config.IReplicationSettings
isOnRecoveryRedoLogExceededBlockPrimary
-
Constructor Details
-
ReplicationSettings
public ReplicationSettings()
-
-
Method Details
-
getOperationsReplicationThreshold
public int getOperationsReplicationThreshold()- Specified by:
getOperationsReplicationThresholdin interfaceIReplicationSettings
-
setOperationsReplicationThreshold
public void setOperationsReplicationThreshold(int operationsReplicationThreshold) -
getIdleDelay
public long getIdleDelay()- Specified by:
getIdleDelayin interfaceIReplicationSettings
-
setIdleDelay
public void setIdleDelay(long replicationInterval) -
getLimitReachedPolicy
- Specified by:
getLimitReachedPolicyin interfaceIReplicationSettings
-
setLimitReachedPolicy
-
getMaxRedoLogCapacity
public long getMaxRedoLogCapacity()- Specified by:
getMaxRedoLogCapacityin interfaceIReplicationSettings
-
setMaxRedoLogCapacity
public void setMaxRedoLogCapacity(long maxRedoLogCapacity) -
getMaxRedoLogCapacityDuringRecovery
public long getMaxRedoLogCapacityDuringRecovery() -
setMaxRedoLogCapacityDuringRecovery
public void setMaxRedoLogCapacityDuringRecovery(long maxRedoLogCapacityDuringRecovery) -
getMaxRedoLogMemoryCapacity
public long getMaxRedoLogMemoryCapacity() -
setMaxRedoLogMemoryCapacity
public void setMaxRedoLogMemoryCapacity(long maxRedoLogMemoryCapacity) -
getBatchSize
public int getBatchSize()- Specified by:
getBatchSizein interfaceIReplicationSettings
-
setBatchSize
public void setBatchSize(int batchSize) -
isOneWay
public boolean isOneWay() -
setOneWay
public void setOneWay(boolean isOneWay) -
getInFilter
- Specified by:
getInFilterin interfaceIReplicationSettings
-
getOutFilter
- Specified by:
getOutFilterin interfaceIReplicationSettings
-
getSpaceCopyInFilter
- Specified by:
getSpaceCopyInFilterin interfaceIReplicationSettings
-
getSpaceCopyOutFilter
- Specified by:
getSpaceCopyOutFilterin interfaceIReplicationSettings
-
getSyncReplicationSettings
- Specified by:
getSyncReplicationSettingsin interfaceIReplicationSettings
-
isThrottleWhenInactive
public boolean isThrottleWhenInactive()- Specified by:
isThrottleWhenInactivein interfaceISyncReplicationSettings
-
setThrottleWhenInactive
public void setThrottleWhenInactive(boolean throttleWhenInactive) -
getMaxThrottleTPWhenInactive
public int getMaxThrottleTPWhenInactive()- Specified by:
getMaxThrottleTPWhenInactivein interfaceISyncReplicationSettings
-
setMaxThrottleTPWhenInactive
public void setMaxThrottleTPWhenInactive(int maxThrottleTPWhenInactive) -
getMinThrottleTPWhenActive
public int getMinThrottleTPWhenActive()- Specified by:
getMinThrottleTPWhenActivein interfaceISyncReplicationSettings
-
setMinThrottleTPWhenActive
public void setMinThrottleTPWhenActive(int minThrottleTPWhenActive) -
setProcessindType
-
getProcessingType
- Specified by:
getProcessingTypein interfaceIReplicationSettings
-
setBucketCount
public void setBucketCount(short bucketCount) -
getBucketCount
public short getBucketCount()- Specified by:
getBucketCountin interfaceIReplicationSettings
-
setBatchParallelFactor
public void setBatchParallelFactor(int batchParallelFactor) -
getBatchParallelFactor
public int getBatchParallelFactor()- Specified by:
getBatchParallelFactorin interfaceIReplicationSettings
-
setBatchParallelThreshold
public void setBatchParallelThreshold(int batchParallelThreshold) -
getBatchParallelThreshold
public int getBatchParallelThreshold()- Specified by:
getBatchParallelThresholdin interfaceIReplicationSettings
-
getConsumeTimeout
public long getConsumeTimeout()- Specified by:
getConsumeTimeoutin interfaceIReplicationSettings
-
setConsumeTimeout
public void setConsumeTimeout(long consumeTimeout) -
getSwapBacklogSettings
- Specified by:
getSwapBacklogSettingsin interfaceIReplicationSettings
-
getBacklogWeightPolicy
- Specified by:
getBacklogWeightPolicyin interfaceIReplicationSettings
-
getRedoLogCompaction
- Specified by:
getRedoLogCompactionin interfaceIReplicationSettings
-
isNetworkCompressionEnabled
public boolean isNetworkCompressionEnabled()- Specified by:
isNetworkCompressionEnabledin interfaceIReplicationSettings
-
setRedoLogCompaction
-
setBacklogWeightPolicy
-
getConsistencyLevel
- Specified by:
getConsistencyLevelin interfaceISyncReplicationSettings
-