Known Direct Subclasses
ClientSideLayoutCacheHint |
This class provides the hint to use when looking up client side layout
caches (for use in the Javascript UI Library [JUIL]). |
|
Class Overview
This is the CacheHint for the ConfigurationFilesCache. Extends SimpleHint
by providing the file path and configuration file class information. Both
parameters are required.
Summary
[Expand]
Inherited Methods |
From class
com.microstrategy.utils.cache.SimpleHint
boolean
|
equals(Object obj)
|
Long
|
getCacheStateId(String name)
Returns a value for the current state of the cache hint
This value is used in maintaining cache consistency across different caches
using the same hint object (for instance, session based cache across a web cluster where each
machine in the cluster holds a copy of the cache)
Whenever a change is made to the cached value in one cache, the stateId is incremented
|
Map
|
getCacheStates()
|
String
|
getHint()
|
String
|
getState()
Used for persisting cache update counts.
|
int
|
hashCode()
|
void
|
restoreState(String state)
Restore cache update counts.
|
void
|
setCacheStateId(String name, Long stateId)
|
void
|
setHint(String str)
|
String
|
toString()
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.microstrategy.utils.cache.CacheHint
abstract
Long
|
getCacheStateId(String name)
Returns a value for the current state of the cache hint
This value is used in maintaining cache consistency across different caches
using the same hint object (for instance, session based cache across a web cluster where each
machine in the cluster holds a copy of the cache)
Whenever a change is made to the cached value in one cache, the stateId is incremented
|
abstract
void
|
setCacheStateId(String name, Long stateId)
|
|
Public Constructors
public
ConfigurationFileCacheHint
(String filePath, Class configClass)
Default constructor. Notice that both parameters need to be not null, otherwise an
IllegalArgumentException
is thrown.
public
ConfigurationFileCacheHint
()
Public Methods
public
boolean
equals
(Object o)
public
Class
getConfigurationFileClass
()
Returns the class that will be used to load and parse the configuration file.
public
String
getPath
()
Returns the path for the configuration file.
Protected Methods
protected
void
calculateHint
()
protected
void
setConfigurationFileClass
(Class configClass)
protected
void
setPath
(String filePath)