org.apache.commons.cache
Class CacheSingleton

java.lang.Object
  extended by org.apache.commons.cache.CacheSingleton

public class CacheSingleton
extends Object

Version:
$Id: CacheSingleton.java 155435 2005-02-26 13:17:27Z dirkv $
Author:
Rodney Waldhoff

Field Summary
protected static HashMap _caches
           
 
Constructor Summary
CacheSingleton()
           
 
Method Summary
static Cache getCache(Object name)
           
static boolean hasCache(Object name)
           
static void putCache(Object name, Cache cache)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_caches

protected static HashMap _caches
Constructor Detail

CacheSingleton

public CacheSingleton()
Method Detail

getCache

public static Cache getCache(Object name)

hasCache

public static boolean hasCache(Object name)

putCache

public static void putCache(Object name,
                            Cache cache)


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.