com.metamatrix.connector.xml.cache
Interface IDocumentCache

All Known Implementing Classes:
DocumentCache

public interface IDocumentCache


Method Summary
 void addToCache(java.lang.String cacheKey, java.lang.Object obj, int size, java.lang.String id)
           
 void clearCache()
           
 java.lang.Object fetchObject(java.lang.String cacheKey, java.lang.String id)
           
 void release(java.lang.String cacheKey, java.lang.String id)
          Called by the CachedObjectRecord contained in the connector to remove a reference on a cache item.
 void shutdownCleaner()
           
 

Method Detail

addToCache

void addToCache(java.lang.String cacheKey,
                java.lang.Object obj,
                int size,
                java.lang.String id)
                throws ConnectorException
Throws:
ConnectorException

release

void release(java.lang.String cacheKey,
             java.lang.String id)
Called by the CachedObjectRecord contained in the connector to remove a reference on a cache item.

Parameters:
cacheKey -

fetchObject

java.lang.Object fetchObject(java.lang.String cacheKey,
                             java.lang.String id)
Parameters:
id - The CacheKey of the cached object.
id - The ID of the request passed to the connector.

clearCache

void clearCache()

shutdownCleaner

void shutdownCleaner()


Copyright © 2009. All Rights Reserved.