Documentation ¶
Index ¶
- func Decode(ncpu int, input, output string)
- func Dump(ncpu int, from, output string)
- func PipeReaderWriter(wg *sync.WaitGroup, r io.Reader, w io.Writer, nread, nwrite *AtomicInt64, ...)
- func Restore(ncpu int, input, target string)
- func Sync(ncpu int, from, target string)
- type AtomicInt64
- type BufWriter
- type ClockTicker
- type RdbLoader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PipeReaderWriter ¶
Types ¶
type AtomicInt64 ¶
type AtomicInt64 int64
func (*AtomicInt64) Add ¶
func (a *AtomicInt64) Add(v int64) int64
func (*AtomicInt64) Get ¶
func (a *AtomicInt64) Get() int64
func (*AtomicInt64) Reset ¶
func (a *AtomicInt64) Reset() int64
func (*AtomicInt64) Set ¶
func (a *AtomicInt64) Set(v int64)
func (*AtomicInt64) Sub ¶
func (a *AtomicInt64) Sub(v int64) int64
type BufWriter ¶
type BufWriter struct {
// contains filtered or unexported fields
}
func NewBufWriter ¶
type ClockTicker ¶
type ClockTicker struct {
// contains filtered or unexported fields
}
func NewClockTicker ¶
func NewClockTicker(wg *sync.WaitGroup, onTick func(), onClose func()) *ClockTicker
func (*ClockTicker) Close ¶
func (t *ClockTicker) Close()
Click to show internal directories.
Click to hide internal directories.