storehost

package
v1.28.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StoreClientImpl

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

StoreClientImpl is a storehost cherami tchannel client

func NewClient

func NewClient(storeUUID, hostAddr string) (*StoreClientImpl, error)

NewClient returns a new instance of cherami tchannel client

func (*StoreClientImpl) Close

func (s *StoreClientImpl) Close()

Close closes the client

func (*StoreClientImpl) GetAddressFromTimestamp added in v1.26.0

GetAddressFromTimestamp queries store for the address corresponding to the given timestamp

func (*StoreClientImpl) ListExtents added in v1.26.0

func (s *StoreClientImpl) ListExtents() (*store.ListExtentsResult_, error)

ListExtents lists the extents on the specified store

func (*StoreClientImpl) PurgeMessages added in v1.26.0

PurgeMessages seals an extent on the specified store

func (*StoreClientImpl) ReadMessages

ReadMessages reads a sequence of messages from the store

func (*StoreClientImpl) SealExtent added in v1.26.0

func (s *StoreClientImpl) SealExtent(req *store.SealExtentRequest) error

SealExtent seals an extent on the specified store

Jump to

Keyboard shortcuts

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