com.bowstreet.builders.webapp.methods
Class VariableCacheManager

java.lang.Object
  extended by com.bowstreet.builders.webapp.methods.VariableCacheManager

public class VariableCacheManager
extends java.lang.Object


Field Summary
static java.lang.String VARIABLE_CACHE_IMPLEMENTATION_PROPERTY
           
 
Method Summary
 void clearCaches()
           
 java.lang.String getCacheStatistics()
           
static VariableCacheManager getInstance()
           
 VariableCache getVariableCache(WebAppAccess webAppAccess, java.lang.String cacheName, int size)
          Get an instance of VariableCache, for a specific model and variable.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VARIABLE_CACHE_IMPLEMENTATION_PROPERTY

public static final java.lang.String VARIABLE_CACHE_IMPLEMENTATION_PROPERTY
See Also:
Constant Field Values
Method Detail

clearCaches

public void clearCaches()

getCacheStatistics

public java.lang.String getCacheStatistics()

getInstance

public static VariableCacheManager getInstance()

getVariableCache

public VariableCache getVariableCache(WebAppAccess webAppAccess,
                                      java.lang.String cacheName,
                                      int size)
Get an instance of VariableCache, for a specific model and variable.

Parameters:
webAppAccess - The WebAppAccess for a model.
cacheName - The name of the variable cache (formed by combining model and variable name by default)
size - For a newly-created cache, this will be used as the maximum size.


Copyright © 2009 IBM. All Rights Reserved.