hazelcast

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: 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 {
	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) Features

func (store *Hazelcast) Features() []state.Feature

Features returns the features available in this state store

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

func (store *Hazelcast) Ping() error

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