Module: LaunchDarkly::Impl::DataSystem::SyncResult Private

Defined in:
lib/ldclient-rb/impl/data_system/fdv2.rb

Overview

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

Represents the possible outcomes from consuming synchronizer results.

Used by FDv2#consume_synchronizer_results to indicate what action the synchronizer loop should take next.

Since:

  • 5.5.0

Constant Summary collapse

FALLBACK =

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

Temporarily move to the next synchronizer in the list. The current synchronizer remains available for future recovery.

Since:

  • 5.5.0

:fallback
RECOVER =

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

Return to the first synchronizer in the list. Used when recovery conditions are met on a fallback synchronizer.

Since:

  • 5.5.0

:recover
REMOVE =

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

Permanently remove the current synchronizer from the list. Used for unrecoverable failures (OFF state, exceptions).

Since:

  • 5.5.0

:remove
FDV1 =

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

Switch to the FDv1 protocol fallback. Replaces the synchronizer list with the FDv1 fallback synchronizer.

Since:

  • 5.5.0

:fdv1