wt.series
Class SeriesCache
java.lang.Object
wt.series.SeriesCache
- public class SeriesCache
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASSNAME
private static final String CLASSNAME
DEBUG
private static final boolean DEBUG
LOG
private static final DebugWriter LOG
CACHE_SIZE
private static final int CACHE_SIZE
CACHE_INITIALIZED
private static final String CACHE_INITIALIZED
- See Also:
- Constant Field Values
SERIES_KEY
private static final String SERIES_KEY
- See Also:
- Constant Field Values
DELIM
private static final String DELIM
- See Also:
- Constant Field Values
seriesCacheContent
private SeriesCache.SeriesCacheContent seriesCacheContent
messenger
SeriesCache.ContextMessenger messenger
localCache
DirtyMap localCache
SeriesCache
private SeriesCache()
throws WTException
getInstance
static SeriesCache getInstance()
addListeners
private void addListeners()
getXML
public String getXML()
throws WTException
- Throws:
WTException
initializeCache
private void initializeCache()
throws WTException
- Throws:
WTException
putSeriesCacheContent
private void putSeriesCacheContent(String key,
List values)
validate
private void validate()
throws WTException
- Throws:
WTException
parseNodeList
private void parseNodeList(NodeList nodeList,
String key)
getValues
public List getValues(String series,
String maturity)
throws WTException
- Throws:
WTException
getSeriesKey
public String getSeriesKey(String value)
throws WTException
- Throws:
WTException
getSeriesIndex
public int getSeriesIndex(String series)
throws WTException
- Throws:
WTException
getMaturityIndex
public int getMaturityIndex(String maturity)
throws WTException
- Throws:
WTException
getAllMaturityLevels
public List getAllMaturityLevels(String series)
throws WTException
- Throws:
WTException
print
private void print(String s,
Map m)