public static class Database.QueryCacheExecutor extends ExecutorBase
Modifier and Type | Field and Description |
---|---|
protected Database |
database |
protected boolean |
needResult |
protected IResultSet |
resultset |
_rcsid
Constructor and Description |
---|
Database.QueryCacheExecutor(Database database,
boolean needResult) |
Modifier and Type | Method and Description |
---|---|
Object[] |
create(ICacheDescription[] objectDescriptions)
Create a new object to operate on and cache.
|
void |
execute()
Perform the desired operation.
|
void |
exists(ICacheDescription objectDescription,
Object cachedObject)
Notify the implementing class of the existence of a cached version of the
object.
|
IResultSet |
getResult()
Fetch the result.
|
protected Database database
protected boolean needResult
protected IResultSet resultset
public Database.QueryCacheExecutor(Database database, boolean needResult)
public IResultSet getResult()
public Object[] create(ICacheDescription[] objectDescriptions) throws ManifoldCFException
objectDescriptions
- are the unique identifiers of the objects.ManifoldCFException
public void exists(ICacheDescription objectDescription, Object cachedObject) throws ManifoldCFException
objectDescription
- is the unique identifier of the object.cachedObject
- is the cached object.ManifoldCFException
public void execute() throws ManifoldCFException
ManifoldCFException