Lines Matching defs:store
68 type store struct { struct
69 ReadView
70 WriteView
74 consistentIndex uint64
77 mu sync.RWMutex
79 ig ConsistentIndexGetter
81 b backend.Backend
82 kvindex index
84 le lease.Lessor
89 revMu sync.RWMutex
91 currentRev int64
93 compactMainRev int64
97 bytesBuf8 []byte
99 fifoSched schedule.Scheduler
101 stopc chan struct{}
143 func (s *store) compactBarrier(ctx context.Context, ch chan struct{}) {
158 func (s *store) Hash() (hash uint32, revision int64, err error) {
164 func (s *store) HashByRev(rev int64) (hash uint32, currentRev int64, compactRev int64, err error) {
212 func (s *store) Compact(rev int64) (<-chan struct{}, error) {
273 func (s *store) Commit() {
284 func (s *store) Restore(b backend.Backend) error {
302 func (s *store) restore() error {
451 func (s *store) Close() error {
457 func (s *store) saveIndex(tx backend.BatchTx) {
470 func (s *store) ConsistentIndex() uint64 {