Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Creating creating step Creating = 1 // Sending snapshot sending step Sending = 2 )
Functions ¶
This section is empty.
Types ¶
type SnapshotManager ¶
type SnapshotManager interface {
Close()
Register(msg *bhraftpb.SnapshotMessage, step int) bool
Deregister(msg *bhraftpb.SnapshotMessage, step int)
Create(msg *bhraftpb.SnapshotMessage) error
Exists(msg *bhraftpb.SnapshotMessage) bool
WriteTo(msg *bhraftpb.SnapshotMessage, conn goetty.IOSession) (uint64, error)
CleanSnap(msg *bhraftpb.SnapshotMessage) error
ReceiveSnapData(msg *bhraftpb.SnapshotMessage) error
Apply(msg *bhraftpb.SnapshotMessage) error
ReceiveSnapCount() uint64
}
SnapshotManager manager snapshot
Click to show internal directories.
Click to hide internal directories.