public class GdbAutoSimpleReadWriteSplittingPlugin extends GdbSimpleReadWriteSplittingPlugin
gdbAutoSimpleReadWriteSplitting): combines SQL-driven routing (at statement-creation
time) with configured write/read endpoints and the Global Database region rules / Global Write
Forwarding. Requires the sqlParser plugin to be ordered before it.SRW_CONNECT_RETRY_INTERVAL_MS, SRW_CONNECT_RETRY_TIMEOUT_MS, SRW_READ_ENDPOINT, SRW_WRITE_ENDPOINT, VERIFY_INITIAL_CONNECTION_TYPE, VERIFY_NEW_SRW_CONNECTIONSALLOW_STATEMENT_RECREATION_ON_CONNECTION_SWITCH, ASSUME_WRITE_TRANSACTION, CACHED_READER_KEEP_ALIVE_TIMEOUT, helpers, hostListProviderService, inReadWriteSplit, isReaderConnFromInternalPool, isWriterConnFromInternalPool, LOAD_BALANCING_INCLUDE_WRITER, pluginService, properties, QUERY_LEVEL_LOAD_BALANCING, readerCacheItem, readerHostSpec, writerConnection, writerHostSpec| Constructor and Description |
|---|
GdbAutoSimpleReadWriteSplittingPlugin(PluginService pluginService,
java.util.Properties properties) |
gdbEndpointHelpers, gdbSimpleendpointHelpers, simplebindReader, bindWriter, closeReaderConnectionIfIdle, closeWriterConnectionIfIdle, connect, connect, currentConnection, currentHostSpec, enterReadWriteSplit, execute, getReaderConnection, getSnapshotState, getSubscribedMethods, getWriterConnection, hostListProviderService, initHostProvider, isConnectionUsable, isInReadWriteSplit, isReaderFromPool, isWriterFromPool, logAndThrow, logAndThrow, markReaderFromPool, markWriterFromPool, notifyConnectionChanged, pluginService, properties, readerConnection, readerHostSpec, readerLoadBalancer, releaseResources, setWriterHostSpec, switchCurrentConnectionTo, writerConnection, writerHostSpecacceptsStrategy, forceConnect, getHostSpecByStrategy, getHostSpecByStrategy, notifyNodeListChangedpublic GdbAutoSimpleReadWriteSplittingPlugin(PluginService pluginService, java.util.Properties properties)