Documentation ¶
Index ¶
- type MockFragment
- func (f *MockFragment) Close() error
- func (f *MockFragment) Compaction() (bool, error)
- func (f *MockFragment) Delete(key string)
- func (f *MockFragment) Destroy() error
- func (f *MockFragment) Fill()
- func (f *MockFragment) Get(key string) interface{}
- func (f *MockFragment) Length() int
- func (f *MockFragment) Move(part *partitions.Partition, name string, owners []discovery.Member) error
- func (f *MockFragment) Name() string
- func (f *MockFragment) Put(key string, value interface{})
- func (f *MockFragment) Result() map[partitions.Kind]map[uint64]Result
- func (f *MockFragment) Stats() storage.Stats
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFragment ¶
func New ¶
func New() *MockFragment
func (*MockFragment) Close ¶
func (f *MockFragment) Close() error
func (*MockFragment) Compaction ¶
func (f *MockFragment) Compaction() (bool, error)
func (*MockFragment) Delete ¶
func (f *MockFragment) Delete(key string)
func (*MockFragment) Destroy ¶
func (f *MockFragment) Destroy() error
func (*MockFragment) Fill ¶
func (f *MockFragment) Fill()
func (*MockFragment) Get ¶
func (f *MockFragment) Get(key string) interface{}
func (*MockFragment) Length ¶
func (f *MockFragment) Length() int
func (*MockFragment) Move ¶
func (f *MockFragment) Move(part *partitions.Partition, name string, owners []discovery.Member) error
func (*MockFragment) Name ¶
func (f *MockFragment) Name() string
func (*MockFragment) Put ¶
func (f *MockFragment) Put(key string, value interface{})
func (*MockFragment) Result ¶ added in v0.5.0
func (f *MockFragment) Result() map[partitions.Kind]map[uint64]Result
func (*MockFragment) Stats ¶
func (f *MockFragment) Stats() storage.Stats
Click to show internal directories.
Click to hide internal directories.