Class DatabaseCachingMetadata


  • public class DatabaseCachingMetadata
    extends Object
    Stores metadata for cached tables
    • Constructor Detail

      • DatabaseCachingMetadata

        public DatabaseCachingMetadata()
    • Method Detail

      • addCacheableTable

        public void addCacheableTable​(String table)
        Defines the given table and column as cacheable
      • addManyToManyCacheableTable

        public void addManyToManyCacheableTable​(String table,
                                                List<String> relatedTables)
        Marks the given table as a cacheable many-to-many relation
      • getCacheableTables

        public Set<String> getCacheableTables()
      • getInverseDependencies

        public List<String> getInverseDependencies​(String table)
      • isCacheable

        public boolean isCacheable​(String table)
        Returns whether the given table is cacheable
      • isManyToManyCacheable

        public boolean isManyToManyCacheable​(String table)