storehost

package
v0.0.0-...-f872574 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2019 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

GetAddressFromTimestamp queries store for the address corresponding to the given timestamp

func (*StoreClientImpl) ListExtents

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

ListExtents lists the extents on the specified store

func (*StoreClientImpl) PurgeMessages

PurgeMessages seals an extent on the specified store

func (*StoreClientImpl) ReadMessages

ReadMessages reads a sequence of messages from the store

func (*StoreClientImpl) SealExtent

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