hazelcast

package
v0.0.0-...-a452e14 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hazelcast

type Hazelcast struct {
	// contains filtered or unexported fields
}

Hazelcast state store

func NewHazelcastStore

func NewHazelcastStore(logger logger.Logger) *Hazelcast

NewHazelcastStore returns a new hazelcast backed state store

func (*Hazelcast) BulkDelete

func (store *Hazelcast) BulkDelete(req []state.DeleteRequest) error

BulkDelete performs a bulk delete operation

func (*Hazelcast) BulkSet

func (store *Hazelcast) BulkSet(req []state.SetRequest) error

BulkSet performs a bulks save operation

func (*Hazelcast) Delete

func (store *Hazelcast) Delete(req *state.DeleteRequest) error

Delete performs a delete operation

func (*Hazelcast) Get

func (store *Hazelcast) Get(req *state.GetRequest) (*state.GetResponse, error)

Get retrieves state from Hazelcast with a key

func (*Hazelcast) Init

func (store *Hazelcast) Init(metadata state.Metadata) error

Init does metadata and connection parsing

func (*Hazelcast) Set

func (store *Hazelcast) Set(req *state.SetRequest) error

Set stores value for a key to Hazelcast

Jump to

Keyboard shortcuts

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