hazelcast

package
v1.0.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2021 License: MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hazelcast

type Hazelcast struct {
	state.DefaultBulkStore
	// 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) 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