Class: Stoplight::Wiring::DataStoreBackend Abstract Private

Inherits:
Object
  • Object
show all
Defined in:
lib/stoplight/wiring/data_store_backend.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

This class is abstract.

Subclass and implement all methods

Abstract base class defining the storage backend interface.

A backend encapsulates all storage construction for a specific data store type (Memory or Redis). Backends handle infrastructure concerns like connection management and failover wrapping, exposing a uniform interface to StorageSetBuilder.

Each method returns a memoized storage instance. Backends are designed to be instantiated once per Light and reused.

Direct Known Subclasses

Memory::Backend, Redis::Backend

Instance Method Summary collapse

Instance Method Details

#recovery_lock_storeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Raises:

  • (ArgumentError)


20
# File 'lib/stoplight/wiring/data_store_backend.rb', line 20

def recovery_lock_store = raise ArgumentError

#recovery_metrics_storeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Raises:

  • (ArgumentError)


21
# File 'lib/stoplight/wiring/data_store_backend.rb', line 21

def recovery_metrics_store = raise ArgumentError

#state_storeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Raises:

  • (ArgumentError)


19
# File 'lib/stoplight/wiring/data_store_backend.rb', line 19

def state_store = raise ArgumentError

#unbounded_metrics_storeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Raises:

  • (ArgumentError)


23
# File 'lib/stoplight/wiring/data_store_backend.rb', line 23

def unbounded_metrics_store = raise ArgumentError

#windowed_metrics_storeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Raises:

  • (ArgumentError)


22
# File 'lib/stoplight/wiring/data_store_backend.rb', line 22

def windowed_metrics_store = raise ArgumentError