|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.xmlrpc.AbstractCachedResult
public abstract class AbstractCachedResult
Simple abstract container for serialized resources or results of a query. Used to cache them that may be retrieved by chunks later by the client.
Constructor Summary | |
---|---|
AbstractCachedResult()
|
|
AbstractCachedResult(long queryTime)
|
Method Summary | |
---|---|
abstract void |
free()
This abstract method must be used to free internal variables. |
long |
getCreationTimestamp()
|
long |
getQueryTime()
|
abstract Object |
getResult()
This abstract method returns the cached result or null |
long |
getTimestamp()
|
void |
touch()
This method can be used to explicitly update the last time the cached result has been used |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractCachedResult()
public AbstractCachedResult(long queryTime)
Method Detail |
---|
public long getQueryTime()
public long getTimestamp()
public void touch()
public long getCreationTimestamp()
public abstract void free()
public abstract Object getResult()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |