NetCharts Server

chartworks.es.plugin
Class CachePlugIn

java.lang.Object
  |
  +--chartworks.es.plugin.NDSPlugIn
        |
        +--chartworks.es.plugin.NDSPlugInAdapter
              |
              +--chartworks.es.plugin.CachePlugIn
All Implemented Interfaces:
NDSDataInterface

public class CachePlugIn
extends NDSPlugInAdapter

The CachePlugIn is used to provide a seamless way to retrieve externally generated or manipulated data for use by NetCharts Server data clients (charts, tables, toolkit API).


Constructor Summary
CachePlugIn(java.lang.String name)
          Constructor
 
Method Summary
 java.lang.Object[][] retrieveData(java.net.URL fileBase, java.util.Hashtable serverParams, java.util.Hashtable clientParams)
          This method should only be called if there is no data in the cache or no cacheKey was passed.
 
Methods inherited from class chartworks.es.plugin.NDSPlugInAdapter
getContentType, getData, loadData, pivotData, processData
 
Methods inherited from class chartworks.es.plugin.NDSPlugIn
addListingEntry, addObserver, createPlugIn, getPlugIn, hasNewData, removeObserver
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachePlugIn

public CachePlugIn(java.lang.String name)
Constructor
Method Detail

retrieveData

public java.lang.Object[][] retrieveData(java.net.URL fileBase,
                                         java.util.Hashtable serverParams,
                                         java.util.Hashtable clientParams)
This method should only be called if there is no data in the cache or no cacheKey was passed. In that case, this method will check the hashtable for a defaultData key, and return any data in it.
Overrides:
retrieveData in class NDSPlugInAdapter
Parameters:
fileBase - URL representing directory where the NDS parameter file is located.
serverParams - A hashtable of properties from the parameter file.
clientParams - A hashtable of properties passed on the query string - If this is a ".ndx" clientParams will be the same as serverParams.

NetCharts Server


Visual Mining, Inc.
15825 Shady Grove Rd.
Suite 20
Rockville, MD 20850
800.308.0731
301.947.8293 FAX

Copyright © Visual Mining, Inc. 1996 - 2004
All Rights Reserved.

NetCharts Server TM is a registered trademark of Visual Mining, Inc. Other brands and their products are trademarks of their respective holders.

Last Modified: Aug 3, 2004