Class FailureHandlingStorageStrategy

java.lang.Object
com.inductiveautomation.historian.gateway.api.storage.strategy.PointStorageStrategy
com.inductiveautomation.historian.gateway.api.storage.strategy.FailureHandlingStorageStrategy

public final class FailureHandlingStorageStrategy extends PointStorageStrategy
A PointStorageStrategy decorator that routes points its delegate failed to store to a FailureHandlingStorageStrategy.StorageFailureHandler. What happens to them (quarantine, durable retry, drop, alarm) is the handler's decision.

All processXxx calls, metrics(), flushNow(), pauseProcessing(), resumeProcessing() and stopProcessing() pass through to the delegate.

Failures are detected on the downstream PointStorageStrategy.Listener, not on the per-call result stage: a debouncing delegate completes every coalesced caller with the same merged result, so per-call observation would hand the same points to the handler once per caller. Each flushed batch's TemporalPointBatch.result() is inspected once, and any non-empty failedData() is routed to the handler. Only the delegate's flush path invokes the listener, so points the handler re-submits elsewhere cannot loop back.

Since:
2027.02