Interface RegistrableCacheKey<T>

All Superinterfaces:
CacheKey
All Known Implementing Classes:
AbstractLegacyRegistrableCacheKey, AbstractRegioncacheRegistrableUnit, AbstractRegistrableCacheKey, C2LManager.C2LCacheKey, FinderResult.FinderResultCacheKey, FlexibleSearch.FlexibleSearchCacheKey, FlexibleSearch.FlexibleSearchTypeGenIgnoreCacheKey, JaloTypeCacheUnit.JaloTypeCacheKey, TestLoadableRegistrableCacheTestKey, TestRegistrableCacheKey

public interface RegistrableCacheKey<T> extends CacheKey
  • Method Details

    • getDependentTypes

      T[] getDependentTypes()
      All registrable units should define dependent types.
      In case of invalidation of one of the dependent type registrable cache unit gets invalidated too.
    • getDependentTypeGenerations

      long[] getDependentTypeGenerations()
      gets last versions of the corresponding type from getDependentTypes()
    • setDependentTypeGenerations

      void setDependentTypeGenerations(long[] dependentTypeGeneration)
      lazily loaded generation