Class ServerCacheBase

    • Constructor Detail

      • ServerCacheBase

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

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

        protected ServerCacheBase​(java.lang.String pName,
                                  boolean useSoftReferences,
                                  int pTimeout,
                                  int pRefreshTime,
                                  java.lang.String alias)
        Since:
        MicroStrategy Web 9.0.0
      • ServerCacheBase

        protected ServerCacheBase​(java.lang.String pName,
                                  boolean useSoftReferences,
                                  int pTimeout,
                                  int pRefreshTime)
    • 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