Documentation
¶
Index ¶
Constants ¶
View Source
const ( MaxLocalCacheLen = 8 MaxChunkMetaBufLocalCacheLen = 1024 MaxLocalCacheSize = 32 * 1024 * 1024 // 32M )
Variables ¶
View Source
var RaftMsgPool = NewByteBufferPool(0, cpu.GetCpuNum(), cpu.GetCpuNum())
Functions ¶
func GetRaftMsg ¶
func GetRaftMsg() []byte
func GetSmartQuery ¶
func GetSmartQuery() []byte
func PutRaftMsg ¶
func PutRaftMsg(b []byte)
func PutSmartQuery ¶
func PutSmartQuery(b []byte)
Types ¶
Click to show internal directories.
Click to hide internal directories.