blob: 362ac32f66accb0ea70d814e5538b32fb2634637 [file]
package org.apache.jcs.engine;
import java.util.Hashtable;
import java.util.Map;
import org.apache.jcs.engine.behavior.ICache;
/**
* Used to associates a list of cache event queues for a cache.
*
* @author asmuts
* @created January 15, 2002
*/
public class CacheDescriptor
{
/** Description of the Field */
public final ICache cache;
/*
* Map ICacheListener to ICacheEventQueue.
*/
/** Description of the Field */
public final Map eventQMap = new Hashtable();
/**
* Constructor for the CacheDescriptor object
*
* @param cache
*/
public CacheDescriptor( ICache cache )
{
if ( cache == null )
{
throw new IllegalArgumentException( "cache must not be null" );
}
this.cache = cache;
}
}
// end class