state

package
v0.0.0-...-666a0c5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 14, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitState

func InitState(stateHolder **State, statePath string, incomingCh <-chan *Indices, errch chan<- error, doneCh chan<- struct{})

Types

type Indices

type Indices struct {
	CreateIndex int64
	ModifyIndex int64
	LockIndex   int64
}

type State

type State struct {
	// contains filtered or unexported fields
}

func (*State) DoProcessIncoming

func (s *State) DoProcessIncoming(cidx int64, midx int64) bool

func (*State) LastCreateIndex

func (s *State) LastCreateIndex() int64

func (*State) LastLockIndex

func (s *State) LastLockIndex() int64

func (*State) LastModifyIndex

func (s *State) LastModifyIndex() int64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL