Class ProjectCacheBase

    • Constructor Detail

      • ProjectCacheBase

        protected ProjectCacheBase​(java.lang.String pName,
                                   boolean softRefs,
                                   int timeout,
                                   int refresh)
        Since:
        MicroStrategy Web 9.0.0
      • ProjectCacheBase

        protected ProjectCacheBase​(java.lang.String pName,
                                   boolean softRefs,
                                   int timeout,
                                   int refresh,
                                   java.lang.String alias)
        Since:
        MicroStrategy Web 9.0.0
      • ProjectCacheBase

        protected ProjectCacheBase​(java.lang.String pName)
      • ProjectCacheBase

        protected ProjectCacheBase​(java.lang.String pName,
                                   java.lang.String alias)
        Since:
        MicroStrategy Web 9.0.0
    • Method Detail

      • getKey

        protected java.lang.Object getKey​(CacheHint hint)
                                   throws CacheException
        Description copied from class: CacheBase
        Overridable. Extracts from the hint object the key that shall be used to identify the cached object.
        Specified by:
        getKey in class CacheBase
        Parameters:
        hint - the hint object.
        Returns:
        the key
        Throws:
        CacheException - if somethig gos wrong.
      • store

        protected final void store​(CacheHint hint,
                                   java.lang.Object ob)
                            throws CacheException
        Description copied from class: CacheBase
        Overridable. Saves cached object in the persistent storage.
        Overrides:
        store in class CacheBase
        Parameters:
        hint - the hint object.
        ob - the object to save.
        Throws:
        CacheException - if somethig gos wrong.
        Since:
        MicroStrategy Web 8.0.1