org.enhydra.shark.api.internal.caching
Interface CacheMgr


public interface CacheMgr

This inferface presents manager for process cache and recource cache.

Version:
1.0
Author:
Sasa Bojanic, Nenad Stefanovic

Method Summary
 void configure(CallbackUtilities cus)
          Configures caches.
 ProcessCache getProcessCache()
          Returns process cache.
 ResourceCache getResourceCache()
          Returns resource cache.
 

Method Detail

configure

public void configure(CallbackUtilities cus)
               throws java.lang.Exception
Configures caches.

Parameters:
cus - an instance of CallbackUtilities used to get properties for configuring caches.
Throws:
java.lang.Exception - Thrown if an error occurs.

getProcessCache

public ProcessCache getProcessCache()
Returns process cache.

Returns:
Process cache.

getResourceCache

public ResourceCache getResourceCache()
Returns resource cache.

Returns:
Resource cache.