All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
AbstractInfinispanLogMinerEventProcessor, EmbeddedInfinispanLogMinerEventProcessor, RemoteInfinispanLogMinerEventProcessor

public interface CacheProvider extends AutoCloseable
Author:
Chris Cranford
  • Field Details

    • TRANSACTIONS_CACHE_NAME

      static final String TRANSACTIONS_CACHE_NAME
      The name for the transaction cache
      See Also:
    • PROCESSED_TRANSACTIONS_CACHE_NAME

      static final String PROCESSED_TRANSACTIONS_CACHE_NAME
      The name for the recently processed transactions cache
      See Also:
    • SCHEMA_CHANGES_CACHE_NAME

      static final String SCHEMA_CHANGES_CACHE_NAME
      The name for the schema changes cache
      See Also:
    • EVENTS_CACHE_NAME

      static final String EVENTS_CACHE_NAME
      The name for the LogMiner events cache
      See Also:
  • Method Details

    • displayCacheStatistics

      void displayCacheStatistics()
      Displays cache statistics
    • getTransactionCache

      org.infinispan.commons.api.BasicCache<String,InfinispanTransaction> getTransactionCache()
      Get the transaction cache
      • Key - The unique transaction id
      • Value - The transaction instance
      Returns:
      the transaction cache, never null
    • getEventCache

      org.infinispan.commons.api.BasicCache<String,LogMinerEvent> getEventCache()
      Get the LogMiner events cache
      • Key - The event id, in the format of transactionId-eventSequence
      • Value - The raw LogMinerEvent object instance
      Returns:
      the evnts cache, never null
    • getSchemaChangesCache

      org.infinispan.commons.api.BasicCache<String,String> getSchemaChangesCache()
      Get the Schema Changes cache
      • Key - The system change number of the schema change
      • Value - The table the schema change is related to
      Returns:
      the schema changes cache, never null
    • getProcessedTransactionsCache

      org.infinispan.commons.api.BasicCache<String,String> getProcessedTransactionsCache()
      Get the processed transactions cache
      • Key - The unique transaction id
      • Value - The transaction's commit or rollback system change number
      Returns:
      the processed transactions cache, never null