IBM Branch Transformation Toolkit Javadoc

com.ibm.btt.base
Interface Cacheable

All Known Implementing Classes:
FormatElement, HashtableFormat, HashtableIndexedCollectionFormat

public interface Cacheable

This interface is used for object caching. Entities (such as FormatElement and DSEOperation) to be cached must implement this interface. The respective externalizer must also be changed in order to cache objects.


Method Summary
 java.lang.String getName()
          Returns the name of the cacheable object.
 boolean isCacheable()
          Determines whether THIS particular object can be cached.
 void reinitialize()
          Reinitializes THIS object.
 

Method Detail

getName

public java.lang.String getName()
Returns the name of the cacheable object.

Returns:
String

isCacheable

public boolean isCacheable()
Determines whether THIS particular object can be cached.

Returns:
boolean

reinitialize

public void reinitialize()
Reinitializes THIS object. This method should be called immediately after the object is extracted from the cache.


IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005