store

package
v0.0.0-...-9b40e8a Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2015 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const DATABASE_FILE_NAME = "corfu.db"
View Source
const SYSTEM_TABLE_NAME = ".system.store"

Variables

This section is empty.

Functions

This section is empty.

Types

type SealedError

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

func (SealedError) String

func (e SealedError) String() string

type StoreClient

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

func NewStoreClient

func NewStoreClient() *StoreClient

func (*StoreClient) Append

func (client *StoreClient) Append(entry []byte) error

func (*StoreClient) Fill

func (client *StoreClient) Fill(address uint64) error

func (*StoreClient) Listen

func (client *StoreClient) Listen() error

func (*StoreClient) Read

func (client *StoreClient) Read(address uint64) error

func (*StoreClient) Reconfigure

func (client *StoreClient) Reconfigure() error

func (*StoreClient) Trim

func (client *StoreClient) Trim(address uint64) error

type StoreService

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

func New

func New() *StoreService

func (*StoreService) CreateSystemTable

func (service *StoreService) CreateSystemTable() error

func (*StoreService) Delete

func (service *StoreService) Delete(address uint64) (bool, fmt.Stringer)

func (*StoreService) Listen

func (service *StoreService) Listen() error

func (*StoreService) Read

func (service *StoreService) Read(epoch uint64, address uint64) ([]byte, fmt.Stringer)

func (*StoreService) Seal

func (service *StoreService) Seal(epoch uint64) (bool, uint64, fmt.Stringer)

func (*StoreService) Write

func (service *StoreService) Write(epoch uint64, address uint64, data []byte) (bool, fmt.Stringer)

Jump to

Keyboard shortcuts

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