Class GcpFallbackState (1.17.0)

public class GcpFallbackState implements AutoCloseable

Shared thread-safe state that coordinates failover, recovery, and periodic error evaluation across a pool of GcpFallbackChannel instances.

Inheritance

java.lang.Object > GcpFallbackState

Implements

AutoCloseable

Constructors

GcpFallbackState()

public GcpFallbackState()

Methods

close()

public void close()

shutdown()

public synchronized void shutdown()

Shuts down the state, cancelling evaluation and shutting down internal executor if owned.

shutdownNow()

public synchronized void shutdownNow()

Shuts down the state immediately, cancelling evaluation and terminating internal executor if owned.