org.fjank.jcache
Class CacheRegion

java.lang.Object
  extended by org.fjank.jcache.CacheGroup
      extended by org.fjank.jcache.CacheRegion
All Implemented Interfaces:
Serializable

public class CacheRegion
extends CacheGroup

This class defines a region in the cache.

Author:
Frank Karlstrøm
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.fjank.jcache.CacheGroup
name, weakReferenceObjects
 
Constructor Summary
CacheRegion(String name, AttributesImpl attributes)
          Creates new CacheRegionObject
 
Method Summary
static CacheRegion getRegion()
          returns the default region in the cache.
 String toString()
          returns a String representation of this region.
 
Methods inherited from class org.fjank.jcache.CacheGroup
contains, containsValue, destroy, entrySet, get, getGroup, getName, getObjectCount, invalidate, keySet, put, put, removeMe, replace, values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheRegion

public CacheRegion(String name,
                   AttributesImpl attributes)
Creates new CacheRegionObject

Parameters:
name - the name of the new region.
attributes - the attributes for the new region.
Method Detail

getRegion

public static CacheRegion getRegion()
returns the default region in the cache.

Returns:
the default region in the cache.

toString

public String toString()
returns a String representation of this region.

Overrides:
toString in class Object
Returns:
a String representation of this region.


Copyright © 2002-2009 Hosted by SourceForge. All Rights Reserved.