public abstract class AbstractPrepareTask<T> extends AbstractResourceManagerTask<T>
AbstractTask.DelegateTask<T>, AbstractTask.InnerReadWriteTxServiceCallable<T>, AbstractTask.InnerWriteServiceCallable<T>, AbstractTask.ResubmitException
DEBUG, INFO, log, resourceManager
checkpointNanoTime, concurrencyManager, isReadWriteTx, nanoTime_assignedWorker, nanoTime_beginWork, nanoTime_finishedWork, nanoTime_submitTask, readOnly, taskCounters, timestamp, transactionManager, tx
Constructor and Description |
---|
AbstractPrepareTask(ResourceManager resourceManager,
long timestamp,
String resource) |
AbstractPrepareTask(ResourceManager resourceManager,
long timestamp,
String[] resource) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
clearRefs()
Method is responsible for clearing the
SoftReference s held by
ViewMetadata for the source view(s) on the old journal. |
toString
assertResource, assertRunning, assertUnisolated, call, clearLoggingContext, doTask, dropIndex, getCommitTime, getIndex, getJournal, getOnlyResource, getResource, getResourceManager, getTaskCounters, getTaskName, getTimestamp, isResource, registerIndex, setupLoggingContext, toString
public AbstractPrepareTask(ResourceManager resourceManager, long timestamp, String resource)
resourceManager
- timestamp
- resource
- public AbstractPrepareTask(ResourceManager resourceManager, long timestamp, String[] resource)
resourceManager
- timestamp
- resource
- protected abstract void clearRefs()
SoftReference
s held by
ViewMetadata
for the source view(s) on the old journal.
Note: This method MUST be invoked in order to permit those references to be cleared more eagerly than the end of the entire asynchronous overflow operation (which is when the task references would themselves go out of scope and become available for GC).
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.