public class ExampleConfigParamsImpl extends DefaultConfigParamsImpl
HEART_BEAT_INTERVAL
MEGABYTE
Constructor and Description |
---|
ExampleConfigParamsImpl() |
Modifier and Type | Method and Description |
---|---|
long |
getSnapshotBatchCount()
Returns the minimum number of entries to be present in the in-memory Raft log for a snapshot to be taken.
|
int |
getSnapshotChunkSize()
Returns the maximum size (in bytes) for the snapshot chunk sent from a Leader.
|
getCustomRaftPolicyImplementationClass, getElectionTimeoutFactor, getElectionTimeOutInterval, getElectionTimeVariance, getFileBackedStreamingThreshold, getHeartBeatInterval, getIsolatedCheckIntervalInMillis, getJournalRecoveryLogBatchSize, getPeerAddressResolver, getRaftPolicy, getSnapshotDataThresholdPercentage, getSyncIndexThreshold, getTempFileDirectory, setCustomRaftPolicyImplementationClass, setElectionTimeoutFactor, setFileBackedStreamingThreshold, setHeartBeatInterval, setIsolatedLeaderCheckInterval, setJournalRecoveryLogBatchSize, setPeerAddressResolver, setSnapshotBatchCount, setSnapshotChunkSize, setSnapshotDataThresholdPercentage, setSyncIndexThreshold, setTempFileDirectory
public long getSnapshotBatchCount()
ConfigParams
getSnapshotBatchCount
in interface ConfigParams
getSnapshotBatchCount
in class DefaultConfigParamsImpl
public int getSnapshotChunkSize()
ConfigParams
getSnapshotChunkSize
in interface ConfigParams
getSnapshotChunkSize
in class DefaultConfigParamsImpl
Copyright © 2019 OpenDaylight. All rights reserved.