hazelcast

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 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) Features added in v1.1.1

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 added in v1.4.4

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