org.teiid.cache
Class DefaultCacheFactory

java.lang.Object
  extended by org.teiid.cache.DefaultCacheFactory
All Implemented Interfaces:
java.io.Serializable, CacheFactory

public class DefaultCacheFactory
extends java.lang.Object
implements CacheFactory, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
DefaultCacheFactory()
           
 
Method Summary
 void destroy()
          Destroy the cache factory and any caches underneath.
<K,V> Cache<K,V>
get(Cache.Type type, CacheConfiguration config)
          Create / Get the cache for the give type use
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCacheFactory

public DefaultCacheFactory()
Method Detail

destroy

public void destroy()
Description copied from interface: CacheFactory
Destroy the cache factory and any caches underneath.

Specified by:
destroy in interface CacheFactory

get

public <K,V> Cache<K,V> get(Cache.Type type,
                            CacheConfiguration config)
Description copied from interface: CacheFactory
Create / Get the cache for the give type use

Specified by:
get in interface CacheFactory
Parameters:
type - cache type
config - configuration setup for the cache
Returns:


Copyright © 2010. All Rights Reserved.