package
0.43.0
Repository: https://github.com/nspcc-dev/neofs-node.git
Documentation: pkg.go.dev

# Functions

Get fetches object from the underlying database.
IterateDB iterates over all objects stored in bbolt.DB instance and passes them to f until error return.
New creates new writecache instance.
OpenDB opens BoltDB instance for write-cache.
WithBlobstor sets main object storage.
No description provided by the author
WithLogger sets logger.
WithMaxBatchDelay sets max batch delay for the small object database.
WithMaxBatchSize sets max batch size for the small object database.
WithMaxCacheSize sets maximum write-cache size in bytes.
WithMaxObjectSize sets maximum object size to be stored in write-cache.
WithMetabase sets metabase.
WithNoSync sets an option to allow returning to caller on PUT before write is persisted.
WithPath sets path to writecache db.
WithReportErrorFunc sets error reporting function.
WithSmallObjectSize sets maximum object size to be stored in write-cache.

# Variables

ErrBigObject is returned when object is too big to be placed in cache.
ErrNoDefaultBucket is returned by IterateDB when default bucket for objects is missing.
ErrOutOfSpace is returned when there is no space left to put a new object.
ErrReadOnly is returned when Put/Write is performed in a read-only mode.

# Structs

Info groups the information about write-cache.
IterationPrm contains iteration parameters.
ObjectStatus represents the status of the object in the Writecache.

# Interfaces

Cache represents write-cache for objects.

# Type aliases

Option represents write-cache configuration option.