Package org.castor.cache.distributed
Class GigaspacesCacheFactory
- java.lang.Object
-
- org.castor.cache.AbstractCacheFactory
-
- org.castor.cache.distributed.GigaspacesCacheFactory
-
- All Implemented Interfaces:
CacheFactory
public final class GigaspacesCacheFactory extends AbstractCacheFactory
- Since:
- 1.0
- Version:
- $Revision: 5951 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
- Author:
- Werner Guttmann
-
-
Constructor Summary
Constructors Constructor Description GigaspacesCacheFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCacheClassName()
Returns the full class name of the underlying cache implementation.java.lang.String
getCacheType()
Returns the short alias cache type for this factory instance.void
shutdown()
Allows for cache-specific shutdown operations and resource cleanup.void
shutdown(java.lang.String implementation)
Normally called to shutdown GigaspacesCache.-
Methods inherited from class org.castor.cache.AbstractCacheFactory
getCache, isInitialized
-
-
-
-
Method Detail
-
getCacheType
public java.lang.String getCacheType()
Returns the short alias cache type for this factory instance.- Returns:
- The short alias cache type.
-
getCacheClassName
public java.lang.String getCacheClassName()
Returns the full class name of the underlying cache implementation.- Returns:
- The full cache class name.
-
shutdown
public void shutdown()
Allows for cache-specific shutdown operations and resource cleanup.- Specified by:
shutdown
in interfaceCacheFactory
- Overrides:
shutdown
in classAbstractCacheFactory
-
shutdown
public void shutdown(java.lang.String implementation)
Normally called to shutdown GigaspacesCache. To be able to test the method without havingcom.tangosol.net.CacheFactory
implementation, it can also be called with a test implementations classname.- Parameters:
implementation
- Cache implementation classname to shutdown.
-
-