public abstract class

SessionCacheBase

extends CacheBase
java.lang.Object
   ↳ com.microstrategy.utils.cache.CacheBase
     ↳ com.microstrategy.web.objects.SessionCacheBase

Summary

[Expand]
Inherited Constants
From class com.microstrategy.utils.cache.CacheBase
[Expand]
Inherited Fields
From class com.microstrategy.utils.cache.CacheBase
Protected Constructors
SessionCacheBase(String pName, boolean useSoftReferences, int timeout)
SessionCacheBase(String pName, boolean useSoftReferences, int timeout, String alias)
SessionCacheBase(String pName, boolean useSoftReferences)
SessionCacheBase(String pName, boolean useSoftReferences, String alias)
SessionCacheBase(String pName, String alias)
SessionCacheBase(String pName)
Public Methods
void onHintClose(CacheHint hint)
This method is supposed to be called by the hint object when it is closed.
Protected Methods
boolean canLoadFromPersistentStore(CacheHint hint)
Dictates whether load access to persistent storage is permitted.
boolean canUpdate(CacheHint hint)
Overridable.
Object getKey(CacheHint hint)
Overridable.
[Expand]
Inherited Methods
From class com.microstrategy.utils.cache.CacheBase
From class java.lang.Object
From interface com.microstrategy.utils.cache.Cache

Protected Constructors

protected SessionCacheBase (String pName, boolean useSoftReferences, int timeout)

protected SessionCacheBase (String pName, boolean useSoftReferences, int timeout, String alias)

protected SessionCacheBase (String pName, boolean useSoftReferences)

protected SessionCacheBase (String pName, boolean useSoftReferences, String alias)

protected SessionCacheBase (String pName, String alias)

protected SessionCacheBase (String pName)

Public Methods

public void onHintClose (CacheHint hint)

This method is supposed to be called by the hint object when it is closed. Cache implementations shall use this call to perform proper cache cleanup.

Parameters
hint the hint object.

Protected Methods

protected boolean canLoadFromPersistentStore (CacheHint hint)

Dictates whether load access to persistent storage is permitted.

protected boolean canUpdate (CacheHint hint)

Overridable. Returns true if the hint allows updates. Default implementation always returns true.

Parameters
hint the hint object.
Returns
  • true if the hint allows updates.

protected Object getKey (CacheHint hint)

Overridable. Extracts from the hint object the key that shall be used to identify the cached object.

Parameters
hint the hint object.
Returns
  • the key