com.metamatrix.cache
Interface CacheFactory

All Known Implementing Classes:
JBossCacheFactory

public interface CacheFactory


Method Summary
 void destroy()
          Destroy the cache factory and any caches underneath.
 Cache get(Cache.Type type, CacheConfiguration config)
          Create / Get the cache for the give type use
 

Method Detail

get

Cache get(Cache.Type type,
          CacheConfiguration config)
Create / Get the cache for the give type use

Parameters:
type - cache type
config - configuration setup for the cache
Returns:

destroy

void destroy()
Destroy the cache factory and any caches underneath.



Copyright © 2009. All Rights Reserved.