public static class InitializationPolicy.BuiltIn
extends java.lang.Object
The policy is evaluated based on the completion status of database health checks, and the decision to continue waiting, succeed, or fail is based on the number of available, pending, and failed connections.
Built-in policies are:ALL_AVAILABLE - All databases need to be availableMAJORITY_AVAILABLE - Majority of databases need to be availableONE_AVAILABLE - At least one database needs to be available| Modifier and Type | Field and Description |
|---|---|
static InitializationPolicy |
ALL_AVAILABLE
Policy that requires all databases to be available before the connection is ready.
|
static InitializationPolicy |
MAJORITY_AVAILABLE
Policy that requires a majority of databases to be available before the connection is ready.
|
static InitializationPolicy |
ONE_AVAILABLE
Policy that requires at least one database to be available before the connection is ready.
|
| Constructor and Description |
|---|
BuiltIn() |
public static final InitializationPolicy ALL_AVAILABLE
public static final InitializationPolicy MAJORITY_AVAILABLE
public static final InitializationPolicy ONE_AVAILABLE
Copyright © 2026. All rights reserved.