aerospike

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAerospikeStateStore

func NewAerospikeStateStore(logger logger.Logger) state.Store

NewAerospikeStateStore returns a new Aerospike state store

Types

type Aerospike

type Aerospike struct {
	state.DefaultBulkStore
	// contains filtered or unexported fields
}

Aerospike is a state store

func (*Aerospike) Delete

func (aspike *Aerospike) Delete(req *state.DeleteRequest) error

Delete performs a delete operation

func (*Aerospike) Features

func (aspike *Aerospike) Features() []state.Feature

Features returns the features available in this state store

func (*Aerospike) Get

func (aspike *Aerospike) Get(req *state.GetRequest) (*state.GetResponse, error)

Get retrieves state from Aerospike with a key

func (*Aerospike) Init

func (aspike *Aerospike) Init(metadata state.Metadata) error

Init does metadata and connection parsing

func (*Aerospike) Ping

func (aspike *Aerospike) Ping() error

func (*Aerospike) Set

func (aspike *Aerospike) Set(req *state.SetRequest) error

Set stores value for a key to Aerospike. It honors ETag (for concurrency) and consistency settings

Jump to

Keyboard shortcuts

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