Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBlockStoreForURI ¶
func CreateBlockStoreForURI( uri string, optionalStoreIndexPaths []string, jobAPI longtaillib.Longtail_JobAPI, numWorkerCount int, targetBlockSize uint32, maxChunksPerBlock uint32, accessType AccessType, enableFileMapping bool, opts ...longtailstorelib.BlobStoreOption) (longtaillib.Longtail_BlockStoreAPI, error)
func NewRemoteBlockStore ¶
func NewRemoteBlockStore( jobAPI longtaillib.Longtail_JobAPI, blobStore longtailstorelib.BlobStore, optionalStoreIndexPaths []string, workerCount int, accessType AccessType, opts ...longtailstorelib.BlobStoreOption) (longtaillib.BlockStoreAPI, error)
NewRemoteBlockStore ...
Types ¶
type AccessType ¶
type AccessType int
AccessType defines how we will access the data in the store
const ( // Init - read/write access with forced rebuild of store index Init AccessType = iota // ReadWrite - read/write access ReadWrite // ReadOnly - read only access ReadOnly )
Click to show internal directories.
Click to hide internal directories.