org.dspace.services.model
Class CacheConfig

java.lang.Object
  extended by org.dspace.services.model.CacheConfig

public class CacheConfig
extends Object

Encodes the configuration for a cache into an object.

Author:
Aaron Zeckoski (azeckoski @ gmail.com)

Nested Class Summary
static class CacheConfig.CacheScope
          Controls the scope of each created cache.
 
Constructor Summary
CacheConfig(CacheConfig.CacheScope cacheScope)
          Configure the cache to use the given scope.
 
Method Summary
 CacheConfig.CacheScope getCacheScope()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheConfig

public CacheConfig(CacheConfig.CacheScope cacheScope)
Configure the cache to use the given scope.

Parameters:
cacheScope - defines the lifecycle of the cache
Method Detail

getCacheScope

public final CacheConfig.CacheScope getCacheScope()
Returns:
the scope of the associated cache


Copyright © Monday, September 1, 2008-2011 The DSpace Foundation. All Rights Reserved.