Documentation ¶
Index ¶
- func AcquireRaftCMDRequest() *raftcmdpb.RaftCMDRequest
- func AcquireRaftCMDResponse() *raftcmdpb.RaftCMDResponse
- func AcquireRaftMessage() *mraft.RaftMessage
- func AcquireRaftRequestHeader() *raftcmdpb.RaftRequestHeader
- func AcquireRaftResponseHeader() *raftcmdpb.RaftResponseHeader
- func AcquireRequest() *raftcmdpb.Request
- func AcquireResponse() *raftcmdpb.Response
- func ReleaseRaftCMDRequest(req *raftcmdpb.RaftCMDRequest)
- func ReleaseRaftCMDResponse(resp *raftcmdpb.RaftCMDResponse)
- func ReleaseRaftMessage(msg *mraft.RaftMessage)
- func ReleaseRaftRequestAll(req *raftcmdpb.RaftCMDRequest)
- func ReleaseRaftRequestHeader(header *raftcmdpb.RaftRequestHeader)
- func ReleaseRaftResponseAll(resp *raftcmdpb.RaftCMDResponse)
- func ReleaseRaftResponseHeader(header *raftcmdpb.RaftResponseHeader)
- func ReleaseRequest(req *raftcmdpb.Request)
- func ReleaseResponse(resp *raftcmdpb.Response)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcquireRaftCMDRequest ¶
func AcquireRaftCMDRequest() *raftcmdpb.RaftCMDRequest
AcquireRaftCMDRequest returns a raft cmd request from pool
func AcquireRaftCMDResponse ¶
func AcquireRaftCMDResponse() *raftcmdpb.RaftCMDResponse
AcquireRaftCMDResponse returns a raft cmd response from pool
func AcquireRaftMessage ¶
func AcquireRaftMessage() *mraft.RaftMessage
AcquireRaftMessage returns a raft message from pool
func AcquireRaftRequestHeader ¶
func AcquireRaftRequestHeader() *raftcmdpb.RaftRequestHeader
AcquireRaftRequestHeader returns a raft request header from pool
func AcquireRaftResponseHeader ¶
func AcquireRaftResponseHeader() *raftcmdpb.RaftResponseHeader
AcquireRaftResponseHeader returns a raft response header from pool
func AcquireRequest ¶
AcquireRequest returns a raft request from pool
func AcquireResponse ¶
AcquireResponse returns a response from pool
func ReleaseRaftCMDRequest ¶
func ReleaseRaftCMDRequest(req *raftcmdpb.RaftCMDRequest)
ReleaseRaftCMDRequest returns a raft cmd request to pool
func ReleaseRaftCMDResponse ¶
func ReleaseRaftCMDResponse(resp *raftcmdpb.RaftCMDResponse)
ReleaseRaftCMDResponse returns a raft cmd response to pool
func ReleaseRaftMessage ¶
func ReleaseRaftMessage(msg *mraft.RaftMessage)
ReleaseRaftMessage returns a raft message to pool
func ReleaseRaftRequestAll ¶
func ReleaseRaftRequestAll(req *raftcmdpb.RaftCMDRequest)
ReleaseRaftRequestAll release requests, header and self to pool
func ReleaseRaftRequestHeader ¶
func ReleaseRaftRequestHeader(header *raftcmdpb.RaftRequestHeader)
ReleaseRaftRequestHeader returns a raft request header to pool
func ReleaseRaftResponseAll ¶
func ReleaseRaftResponseAll(resp *raftcmdpb.RaftCMDResponse)
ReleaseRaftResponseAll release responses, header and self to pool
func ReleaseRaftResponseHeader ¶
func ReleaseRaftResponseHeader(header *raftcmdpb.RaftResponseHeader)
ReleaseRaftResponseHeader returns a raft response header to pool
func ReleaseRequest ¶
ReleaseRequest returns a request to pool
func ReleaseResponse ¶
ReleaseResponse returns a response to pool
Types ¶
This section is empty.