planetj.dataengine.cache
Class CacheInspector

java.lang.Object
  |
  +--planetj.dataengine.cache.CacheInspector

public class CacheInspector
extends Object

Author:
Administrator

Field Summary
static boolean TRACK_CACHE
          Flag to indicate if cache tracking should be done.
static boolean WRITE_CACHE_TRACK_TO_FILE
          Flag to indicate if cache tracking should be written to a file.
 
Constructor Summary
CacheInspector()
           
 
Method Summary
static void addSystemCacheDetailsRow(RowCollection detailsRC, RowCollection cacheSource)
          Creates new cache detail rows for the given dataengine cache.
static void addSystemCacheSummaryRow(RowCollection rc, DataEngineCache deCache)
          Creates new cache detail rows for the given dataengine cache.
static RowCollection getAllCacheDetailSummary()
          Creates and returns a derived RowCollection containing information about the current cache for all systems.
static RowCollection getCacheDetail(String alias)
          Creates and returns a derived RowCollection containing information about the current cache.
static void resetAllCache()
          Resets all cache.
static void resetCache(String alias)
          Resets cache for the given alias.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRACK_CACHE

public static boolean TRACK_CACHE
Flag to indicate if cache tracking should be done. By default, nothing is tracked.


WRITE_CACHE_TRACK_TO_FILE

public static boolean WRITE_CACHE_TRACK_TO_FILE
Flag to indicate if cache tracking should be written to a file. By default, nothing is written to a file.

Constructor Detail

CacheInspector

public CacheInspector()
Method Detail

addSystemCacheDetailsRow

public static void addSystemCacheDetailsRow(RowCollection detailsRC,
                                            RowCollection cacheSource)
Creates new cache detail rows for the given dataengine cache.


addSystemCacheSummaryRow

public static void addSystemCacheSummaryRow(RowCollection rc,
                                            DataEngineCache deCache)
Creates new cache detail rows for the given dataengine cache.


getCacheDetail

public static RowCollection getCacheDetail(String alias)
Creates and returns a derived RowCollection containing information about the current cache.


getAllCacheDetailSummary

public static RowCollection getAllCacheDetailSummary()
Creates and returns a derived RowCollection containing information about the current cache for all systems.


resetAllCache

public static void resetAllCache()
Resets all cache.


resetCache

public static void resetCache(String alias)
Resets cache for the given alias.