Documentation ¶
Index ¶
- type AutoGCTask
- type AutumnLib
- func (lib *AutumnLib) Close()
- func (lib *AutumnLib) Connect() error
- func (lib *AutumnLib) Delete(ctx context.Context, key []byte) error
- func (lib *AutumnLib) Get(ctx context.Context, key []byte) ([]byte, error)
- func (lib *AutumnLib) Head(ctx context.Context, key []byte) ([]byte, uint32, error)
- func (lib *AutumnLib) Maintenance(ctx context.Context, partID uint64, task MaintenanceTask) error
- func (lib *AutumnLib) Put(ctx context.Context, key, value []byte) error
- func (lib *AutumnLib) Range(ctx context.Context, prefix []byte, start []byte, limit uint32) ([][]byte, bool, error)
- func (lib *AutumnLib) SplitPart(ctx context.Context, partID uint64) error
- func (lib *AutumnLib) StreamPut(ctx context.Context, key []byte, reader io.Reader, valueSize uint32) error
- type CompactTask
- type ForceGCTask
- type MaintenanceTask
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutumnLib ¶
type AutumnLib struct { utils.SafeMutex //protect regions and psDetails // contains filtered or unexported fields }
func NewAutumnLib ¶
func (*AutumnLib) Maintenance ¶
type CompactTask ¶
type CompactTask struct{}
func (CompactTask) Name ¶
func (CompactTask) Name() string
type ForceGCTask ¶
type ForceGCTask struct{ ExIDs []uint64 }
func (ForceGCTask) Name ¶
func (ForceGCTask) Name() string
type MaintenanceTask ¶
type MaintenanceTask interface {
Name() string
}
Click to show internal directories.
Click to hide internal directories.