T
- public abstract class AbstractDelegateRestApiTask<T> extends AbstractRestApiTask<T>
IApiTask
.
This is necessary in order to pass through the isGRSRequired()
and
setIndexManager(IIndexManager)
method to both the base class and the
delegate.req, resp, uuid
namespace, timestamp
Constructor and Description |
---|
AbstractDelegateRestApiTask(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
String namespace,
long timestamp,
IApiTask<T> delegate) |
Modifier and Type | Method and Description |
---|---|
T |
call() |
boolean |
isGRSRequired()
Tasks that create or destroy locatable resources need to write on the
global row store (GRS).
|
void |
setIndexManager(IIndexManager indexManager)
Invoked to inform the task of the index manager before it is executed.
|
buildResponse, flushAndClose, getOutputStream, getWriter, reportModifiedCount, toString
getConnection, getIndexManager, getMutationCount, getNamespace, getQueryConnection, getQueryConnection, getTimestamp, getUnisolatedSailConnection, isReadOnly, submitApiTask
public void setIndexManager(IIndexManager indexManager)
IApiTask
setIndexManager
in interface IApiTask<T>
setIndexManager
in class AbstractApiTask<T>
indexManager
- The index manager.public boolean isGRSRequired()
IApiTask
isGRSRequired
in interface IApiTask<T>
isGRSRequired
in class AbstractApiTask<T>
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.