Class ConnectionTriggerManager.CTMBackedCache

  • Enclosing class:
    ConnectionTriggerManager

    private class ConnectionTriggerManager.CTMBackedCache
    extends TableBackedCache
    A TableBackedCache that manages the list of connection level triggers that are currently active on this connection.
    • Constructor Detail

      • CTMBackedCache

        public CTMBackedCache()
        Constructor.
    • Method Detail

      • purgeCacheOfInvalidatedEntries

        public void purgeCacheOfInvalidatedEntries​(IntegerVector added_rows,
                                                   IntegerVector removed_rows)
        Description copied from class: TableBackedCache
        This method is called when the transaction starts and finishes and must purge the cache of all invalidated entries.

        Note that this method must NOT make any queries on the database. It must only, at the most, purge the cache of invalid entries. A trivial implementation of this might completely clear the cache of all data if removed_row.size() > 0.

        Specified by:
        purgeCacheOfInvalidatedEntries in class TableBackedCache