aerospike

package
v0.9.111 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2020 License: MIT Imports: 10 Imported by: 3

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 {
	// contains filtered or unexported fields
}

Aerospike is a state store

func (*Aerospike) BulkDelete

func (aspike *Aerospike) BulkDelete(req []state.DeleteRequest) error

BulkDelete performs a bulk delete operation

func (*Aerospike) BulkSet

func (aspike *Aerospike) BulkSet(req []state.SetRequest) error

BulkSet performs a bulks save operation

func (*Aerospike) Delete

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

Delete performs a delete operation

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) 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