Package com.microstrategy.utils.config
Class ConfigurationFilesCache.ConfigurationFileCacheHint
- java.lang.Object
-
- com.microstrategy.utils.cache.SimpleHint
-
- com.microstrategy.utils.config.ConfigurationFilesCache.ConfigurationFileCacheHint
-
- All Implemented Interfaces:
CacheHint
- Direct Known Subclasses:
ClientSideLayoutCacheHint
- Enclosing class:
- ConfigurationFilesCache
public static class ConfigurationFilesCache.ConfigurationFileCacheHint extends SimpleHint
This is the CacheHint for the ConfigurationFilesCache. Extends SimpleHint by providing the file path and configuration file class information. Both parameters are required.- Since:
- MicroStrategy Web 9.0.0
-
-
Field Summary
-
Fields inherited from interface com.microstrategy.utils.cache.CacheHint
ZERO_STATE_ID
-
-
Constructor Summary
Constructors Constructor Description ConfigurationFileCacheHint()ConfigurationFileCacheHint(java.lang.String filePath, java.lang.Class configClass)Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcalculateHint()booleanequals(java.lang.Object o)java.lang.ClassgetConfigurationFileClass()Returns the class that will be used to load and parse the configuration file.java.lang.StringgetPath()Returns the path for the configuration file.inthashCode()protected voidsetConfigurationFileClass(java.lang.Class configClass)protected voidsetPath(java.lang.String filePath)-
Methods inherited from class com.microstrategy.utils.cache.SimpleHint
getCacheStateId, getCacheStates, getHint, getState, restoreState, setCacheStateId, setHint, toString
-
-
-
-
Constructor Detail
-
ConfigurationFileCacheHint
public ConfigurationFileCacheHint(java.lang.String filePath, java.lang.Class configClass)Default constructor. Notice that both parameters need to be not null, otherwise anIllegalArgumentExceptionis thrown.
-
ConfigurationFileCacheHint
public ConfigurationFileCacheHint()
-
-
Method Detail
-
calculateHint
protected void calculateHint()
-
getConfigurationFileClass
public java.lang.Class getConfigurationFileClass()
Returns the class that will be used to load and parse the configuration file.
-
setConfigurationFileClass
protected void setConfigurationFileClass(java.lang.Class configClass)
-
getPath
public java.lang.String getPath()
Returns the path for the configuration file.
-
setPath
protected void setPath(java.lang.String filePath)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSimpleHint- Since:
- MicroStrategy Web 9.0.1
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classSimpleHint- Since:
- MicroStrategy Web 9.0.1
-
-