public final class RwSplitSnapshots
extends java.lang.Object
SnapshotContributor fragments reused across read/write splitting assemblies.| Modifier and Type | Method and Description |
|---|---|
static SnapshotContributor |
endpoint(boolean verifyNewConnections,
java.lang.String writeEndpoint,
java.lang.String readEndpoint,
@Nullable HostRole verifyOpenedConnectionType,
int retryIntervalMs,
long retryTimeoutMs)
Fragment exposing the endpoint (Simple) configuration.
|
static SnapshotContributor |
readerStrategy(java.lang.String strategy)
Fragment exposing the reader host selector strategy (topology-based codes).
|
public static SnapshotContributor readerStrategy(java.lang.String strategy)
public static SnapshotContributor endpoint(boolean verifyNewConnections, java.lang.String writeEndpoint, java.lang.String readEndpoint, @Nullable HostRole verifyOpenedConnectionType, int retryIntervalMs, long retryTimeoutMs)