jason.core.cache
Interface CacheObject

All Known Implementing Classes:
BasicCacheObjectImpl

public interface CacheObject

Created Fri May 10 14:23:21 2002

This is the interface for storing an object to the cache

Author:
Alexandre Brillant (abrillant@wanadoo.fr)

Method Summary
 java.lang.Object getObject()
           
 boolean isExpired()
           
 void setObject(java.lang.Object userObject)
          This is the user object
 

Method Detail

setObject

public void setObject(java.lang.Object userObject)
This is the user object

Parameters:
userObject - the user object

getObject

public java.lang.Object getObject()
Returns:
the user object

isExpired

public boolean isExpired()
Returns:
true is the object need to be updates