org.castor.cache.distributed
Class EHCacheFactory<K,V>

java.lang.Object
  extended by org.castor.cache.AbstractCacheFactory<K,V>
      extended by org.castor.cache.distributed.EHCacheFactory<K,V>
Type Parameters:
K - the type of keys maintained by cache
V - the type of cached values
All Implemented Interfaces:
CacheFactory<K,V>

public final class EHCacheFactory<K,V>
extends AbstractCacheFactory<K,V>

Implements CacheFactory for the EHCache Implements CacheFactory for the EHCache implementation of Cache.

Since:
1.0.1
Version:
$Revision: 9041 $ $Date: 2011-08-16 11:51:17 +0200 (Di, 16 Aug 2011) $
Author:
Werner Guttmann

Constructor Summary
EHCacheFactory()
           
 
Method Summary
 String getCacheClassName()
          Returns the full class name of the underlying cache implementation.
 String getCacheType()
          Returns the short alias cache type for this factory instance.
 
Methods inherited from class org.castor.cache.AbstractCacheFactory
getCache, isInitialized, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EHCacheFactory

public EHCacheFactory()
Method Detail

getCacheType

public String getCacheType()
Returns the short alias cache type for this factory instance.

Returns:
The short alias cache type.

getCacheClassName

public String getCacheClassName()
Returns the full class name of the underlying cache implementation.

Returns:
The full cache class name.


Copyright © 2012. All Rights Reserved.