package iface

type IRaftConfiguration interface {
	NodeID() uint64
	CheckQuorum() bool
	ElectionRTT() uint64
	HeartbeatRTT() uint64
	SnapshotEntries() uint64
	CompactionOverhead() uint64
	OrderedConfigChange() bool
	MaxInMemLogSize() uint64
	//SnapshotCompressionType() string
	//EntryCompressionType() string
	DisableAutoCompactions() bool

	IsObserver() bool
	IsWitness() bool
	Quiesce() bool
}

{'avg_line_length': 19.9, 'max_line_length': 35, 'alphanum_fraction': 0.7864321608040201, 'licenses': ['Apache-2.0'], 'repository_name': 'mkawserm/flamed', 'path': 'pkg/iface/raft.go', 'size': 398, 'lang': 'GO'}