coherence

package
v1.19.2 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCoherenceStateStore

func NewCoherenceStateStore(logger logger.Logger) state.Store

NewCoherenceStateStore returns a new Coherence state store.

Types

type Coherence

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

func (*Coherence) BulkDelete

func (c *Coherence) BulkDelete(ctx context.Context, req []state.DeleteRequest, opts state.BulkStoreOpts) error

func (*Coherence) BulkGet

func (*Coherence) BulkSet

func (c *Coherence) BulkSet(ctx context.Context, req []state.SetRequest, _ state.BulkStoreOpts) error

func (*Coherence) Close

func (c *Coherence) Close() (err error)

func (*Coherence) Delete

func (c *Coherence) Delete(ctx context.Context, req *state.DeleteRequest) error

func (*Coherence) Features

func (c *Coherence) Features() []state.Feature

Features returns the features available in this state store.

func (*Coherence) Get

func (*Coherence) GetComponentMetadata

func (c *Coherence) GetComponentMetadata() (metadataInfo metadata.MetadataMap)

func (*Coherence) Init

func (c *Coherence) Init(_ context.Context, metadata state.Metadata) error

func (*Coherence) Ping

func (c *Coherence) Ping(ctx context.Context) error

func (*Coherence) Set

func (c *Coherence) Set(ctx context.Context, req *state.SetRequest) error

Jump to

Keyboard shortcuts

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