Class StudioCacheContext

  • All Implemented Interfaces:
    Cloneable, org.craftercms.core.service.Context

    public class StudioCacheContext
    extends Object
    implements org.craftercms.core.service.Context
    • Field Detail

      • isConfig

        protected boolean isConfig
      • contextId

        protected String contextId
    • Constructor Detail

      • StudioCacheContext

        public StudioCacheContext​(String site)
      • StudioCacheContext

        public StudioCacheContext​(String site,
                                  boolean isConfig)
    • Method Detail

      • getId

        public String getId()
        Specified by:
        getId in interface org.craftercms.core.service.Context
      • getCacheVersion

        public long getCacheVersion()
        Specified by:
        getCacheVersion in interface org.craftercms.core.service.Context
      • setCacheVersion

        public void setCacheVersion​(long cacheVersion)
        Specified by:
        setCacheVersion in interface org.craftercms.core.service.Context
      • getCacheScope

        public String getCacheScope()
        Specified by:
        getCacheScope in interface org.craftercms.core.service.Context
      • getStoreAdapter

        public org.craftercms.core.store.ContentStoreAdapter getStoreAdapter()
        Specified by:
        getStoreAdapter in interface org.craftercms.core.service.Context
      • isMergingOn

        public boolean isMergingOn()
        Specified by:
        isMergingOn in interface org.craftercms.core.service.Context
      • isCacheOn

        public boolean isCacheOn()
        Specified by:
        isCacheOn in interface org.craftercms.core.service.Context
      • getMaxAllowedItemsInCache

        public int getMaxAllowedItemsInCache()
        Specified by:
        getMaxAllowedItemsInCache in interface org.craftercms.core.service.Context
      • ignoreHiddenFiles

        public boolean ignoreHiddenFiles()
        Specified by:
        ignoreHiddenFiles in interface org.craftercms.core.service.Context
      • clone

        public org.craftercms.core.service.Context clone()
        Specified by:
        clone in interface org.craftercms.core.service.Context
        Overrides:
        clone in class Object