wp
This commit is contained in:
8
qb.go
8
qb.go
@@ -30,7 +30,7 @@ type TimestampCompressor interface {
|
||||
// (rewindOffset, change, timestamp)
|
||||
Append(int, []byte, uint32)
|
||||
Size() int
|
||||
StoredSize() int
|
||||
CommitedSize() int
|
||||
//DeleteLast()
|
||||
CaptureState()
|
||||
ForgetCapturedState()
|
||||
@@ -40,7 +40,7 @@ type TimestampCompressor interface {
|
||||
//Payload() []byte // для снапшота
|
||||
// Offset() int
|
||||
ReplaceBuffer([]byte)
|
||||
WriteStoredTo(io.Writer) error
|
||||
WriteCommitedTo(io.Writer) error
|
||||
LastTimestamp() uint32
|
||||
ReplaceSinceWithUntil() uint32
|
||||
}
|
||||
@@ -65,7 +65,7 @@ type ValueCompressor interface {
|
||||
// (rewindOffset, change, value, delta)
|
||||
Append(int, []byte, float64, uint64)
|
||||
Size() int
|
||||
StoredSize() int
|
||||
CommitedSize() int
|
||||
//Chunks() [][]byte
|
||||
//DeleteLast()
|
||||
CaptureState()
|
||||
@@ -77,7 +77,7 @@ type ValueCompressor interface {
|
||||
//Payload() []byte // для снапшота
|
||||
//Offset() int
|
||||
ReplaceBuffer([]byte)
|
||||
WriteStoredTo(io.Writer) error
|
||||
WriteCommitedTo(io.Writer) error
|
||||
LastValue() float64
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user