lima.storage
Interface Cache

All Known Implementing Classes:
SimpleCache

public interface Cache

Cache allows a WorkUnit to store large data sets such that they don't have to be sent over the wire every time they are needed.


Method Summary
 java.lang.Object getObject(int name)
          Get the object in the cache that was last checked in under the name int.
 void putObject(int name, java.lang.Object data)
          Object data into the cache under the name name.
 

Method Detail

putObject

public void putObject(int name,
                      java.lang.Object data)
Object data into the cache under the name name.

Parameters:
name - - A unique integer name for the object

getObject

public java.lang.Object getObject(int name)
Get the object in the cache that was last checked in under the name int.

Parameters:
name -
Returns:
Object