hazelcast

package
v1.14.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 12 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHazelcastStore

func NewHazelcastStore(logger logger.Logger) state.Store

NewHazelcastStore returns a new hazelcast backed state store.

Types

type Hazelcast

type Hazelcast struct {
	state.BulkStore
	// contains filtered or unexported fields
}

Hazelcast state store.

func (*Hazelcast) Delete

func (store *Hazelcast) Delete(ctx context.Context, 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(ctx context.Context, req *state.GetRequest) (*state.GetResponse, error)

Get retrieves state from Hazelcast with a key.

func (*Hazelcast) GetComponentMetadata added in v1.10.1

func (store *Hazelcast) GetComponentMetadata() (metadataInfo metadata.MetadataMap)

func (*Hazelcast) Init

func (store *Hazelcast) Init(_ context.Context, metadata state.Metadata) error

Init does metadata and connection parsing.

func (*Hazelcast) Set

func (store *Hazelcast) Set(ctx context.Context, 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