public class

RandomNumberMap

extends CacheBase
java.lang.Object
   ↳ com.microstrategy.utils.cache.CacheBase
     ↳ com.microstrategy.web.platform.RandomNumberMap

Class Overview

Used in ASP.Net environment only

Summary

[Expand]
Inherited Constants
From class com.microstrategy.utils.cache.CacheBase
[Expand]
Inherited Fields
From class com.microstrategy.utils.cache.CacheBase
Public Methods
boolean contains(String hint)
void delete(String hint)
static RandomNumberMap getInstance()
void put(String hint, Object ob)
Protected Methods
Object getKey(CacheHint hint)
Overridable.
Object load(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

Public Methods

public boolean contains (String hint)

public void delete (String hint)

public static RandomNumberMap getInstance ()

public void put (String hint, Object ob)

Protected Methods

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

protected Object load (CacheHint hint)

Overridable. Creates a new cached object instance and populates it with data from the persistent storage. In case the object not found in the persistent storage the implementation can return either null or a dummy object.

Parameters
hint the hint object.
Returns
  • the object or null.