bluckstore

package
v0.0.0-...-0f72fe8 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KVStore

type KVStore interface {
	Get(k string) string
	Put(k, v string) error
	Open(absolutePath string)
	Close()
	DumpPage(pageId int) string
	Meta() *mmap.Directory
}

type MultiStore

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

func NewMmapMultiStore

func NewMmapMultiStore() *MultiStore

func (*MultiStore) Close

func (server *MultiStore) Close()

func (*MultiStore) GetStore

func (server *MultiStore) GetStore(path string) ThreadSafeStore

type ThreadSafeStore

type ThreadSafeStore interface {
	KVStore
	Lock()
	Unlock()
}

func NewMmapStore

func NewMmapStore() ThreadSafeStore

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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