Class BaseCacheConfig

    • Constructor Detail

      • BaseCacheConfig

        public BaseCacheConfig()
    • Method Detail

      • anchor

        public abstract Object anchor()
        Instance of the class "containing" this Cache. Used by CacheManagers for display to end-user. Also used under OSGi to close() the cache on bundle unload.
      • id

        @Default
        public String id()
        Short ID of this Cache. Optional; default is anchor' class name. Recommended if a class has more than one Cache instance. Used only by CacheManagers for display to end-user. Any code requiring to identify a instances would just hold on to the Cache instance. Must be all lower case letters only, may use dot as separator, but no spaces or other characters.
      • description

        @Default
        public String description()
        Human readable 1 line description of this Cache. Used by CacheManagers for display to end-user. Optional; default is no description.
      • check

        @Check
        protected void check()
        Validates this cache configuration.