org.exist.xmlrpc
Class QueryResultCache

java.lang.Object
  extended by org.exist.xmlrpc.QueryResultCache

public class QueryResultCache
extends Object

Used by XmldbRequestProcessorFactory to cache query results. Each query result is identified by a unique integer id.


Field Summary
 QueryResult[] results
           
static int TIMEOUT
           
 
Constructor Summary
QueryResultCache()
           
 
Method Summary
 int add(QueryResult qr)
           
 void checkTimestamps()
           
 QueryResult get(int pos)
           
 void remove(int pos)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIMEOUT

public static final int TIMEOUT
See Also:
Constant Field Values

results

public QueryResult[] results
Constructor Detail

QueryResultCache

public QueryResultCache()
Method Detail

add

public int add(QueryResult qr)

get

public QueryResult get(int pos)

remove

public void remove(int pos)

checkTimestamps

public void checkTimestamps()


Copyright (C) Wolfgang Meier. All rights reserved.