Class AbstractInfinispanLogMinerEventProcessor
java.lang.Object
io.debezium.connector.oracle.logminer.processor.AbstractLogMinerEventProcessor<InfinispanTransaction>
io.debezium.connector.oracle.logminer.processor.infinispan.AbstractInfinispanLogMinerEventProcessor
- All Implemented Interfaces:
CacheProvider<InfinispanTransaction>,LogMinerEventProcessor,AutoCloseable
- Direct Known Subclasses:
EmbeddedInfinispanLogMinerEventProcessor,RemoteInfinispanLogMinerEventProcessor
public abstract class AbstractInfinispanLogMinerEventProcessor
extends AbstractLogMinerEventProcessor<InfinispanTransaction>
implements CacheProvider<InfinispanTransaction>
An implementation of
LogMinerEventProcessor
that uses Infinispan to persist the transaction cache across restarts on disk.- Author:
- Chris Cranford
-
Nested Class Summary
Nested classes/interfaces inherited from class io.debezium.connector.oracle.logminer.processor.AbstractLogMinerEventProcessor
AbstractLogMinerEventProcessor.Counters -
Field Summary
Fields inherited from class io.debezium.connector.oracle.logminer.processor.AbstractLogMinerEventProcessor
counters, sqlQueryFields inherited from interface io.debezium.connector.oracle.logminer.processor.CacheProvider
EVENTS_CACHE_NAME, PROCESSED_TRANSACTIONS_CACHE_NAME, SCHEMA_CHANGES_CACHE_NAME, TRANSACTIONS_CACHE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractInfinispanLogMinerEventProcessor(ChangeEventSource.ChangeEventSourceContext context, OracleConnectorConfig connectorConfig, OracleConnection jdbcConnection, EventDispatcher<OraclePartition, TableId> dispatcher, OraclePartition partition, OracleOffsetContext offsetContext, OracleDatabaseSchema schema, LogMinerStreamingChangeEventSourceMetrics metrics) -
Method Summary
Modifier and TypeMethodDescriptionprotected InfinispanTransactionCreates a new transaction based on the suppliedSTARTevent.Methods inherited from class io.debezium.connector.oracle.logminer.processor.AbstractLogMinerEventProcessor
abandonTransactionOverEventThreshold, abandonTransactions, addToTransaction, calculateNewStartScn, cleanupAfterTransactionRemovedFromCache, compareStartScn, createQueryStatement, dispatchSchemaChangeEventAndGetTableForNewCapturedTable, displayCacheStatistics, finalizeTransactionCommit, finalizeTransactionRollback, getAbandonedTransactionsCache, getAndRemoveTransactionFromCache, getConfig, getFirstActiveTransactionKey, getLastProcessedScn, getLastProcessedScnChangeTime, getLastScnToAbandon, getLoggedAbandonedTransactionTableNames, getOldestTransactionInCache, getQueryString, getSchema, getTableMetadataDdl, getTransactionCacheMinimumScn, getTransactionEventCount, getTransactionEventIterator, getTransactionIdPrefix, getTransactionKeysWithPrefix, handleCommit, handleCommitNotFoundInBuffer, handleDataEvent, handleLobWrite, handleMissingScn, handleRollback, handleRollbackNotFoundInBuffer, handleSchemaChange, handleSelectLobLocator, handleStart, handleUnsupportedEvent, hasSchemaChangeBeenSeen, isRecentlyProcessed, isTransactionIdWithNoSequence, isTransactionOverEventThreshold, isTransactionUserExcluded, isTrxIdRawValue, oldestTransactionComparison, process, processResults, processRow, purgeCache, reCreateInMemoryCache, removeEventWithRowId, resetTransactionToStart, warnPotentiallyStuckScnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.AutoCloseable
closeMethods inherited from interface io.debezium.connector.oracle.logminer.processor.CacheProvider
displayCacheStatistics, getEventCache, getProcessedTransactionsCache, getSchemaChangesCache, getTransactionCache
-
Constructor Details
-
AbstractInfinispanLogMinerEventProcessor
protected AbstractInfinispanLogMinerEventProcessor(ChangeEventSource.ChangeEventSourceContext context, OracleConnectorConfig connectorConfig, OracleConnection jdbcConnection, EventDispatcher<OraclePartition, TableId> dispatcher, OraclePartition partition, OracleOffsetContext offsetContext, OracleDatabaseSchema schema, LogMinerStreamingChangeEventSourceMetrics metrics)
-
-
Method Details
-
createTransaction
Description copied from class:AbstractLogMinerEventProcessorCreates a new transaction based on the suppliedSTARTevent.- Specified by:
createTransactionin classAbstractLogMinerEventProcessor<InfinispanTransaction>- Parameters:
row- the event row, must not benull- Returns:
- the implementation-specific
Transactioninstance
-