public class DropIndexTask extends AbstractTask<Boolean>
Note: the dropped index will continue to be visible to unisolated readers or read-commmitted isolated operations (since they read from the most recent committed state) until the next commit. However, unisolated writers that execute after the index has been dropped will NOT be able to see the index.
RegisterIndexTask
AbstractTask.DelegateTask<T>, AbstractTask.InnerReadWriteTxServiceCallable<T>, AbstractTask.InnerWriteServiceCallable<T>, AbstractTask.ResubmitException
checkpointNanoTime, concurrencyManager, isReadWriteTx, log, nanoTime_assignedWorker, nanoTime_beginWork, nanoTime_finishedWork, nanoTime_submitTask, readOnly, resourceManager, taskCounters, timestamp, transactionManager, tx
Constructor and Description |
---|
DropIndexTask(IConcurrencyManager concurrencyManager,
String name) |
Modifier and Type | Method and Description |
---|---|
Boolean |
doTask()
Drop the named index.
|
assertResource, assertRunning, assertUnisolated, call, clearLoggingContext, dropIndex, getCommitTime, getIndex, getJournal, getOnlyResource, getResource, getResourceManager, getTaskCounters, getTaskName, getTimestamp, isResource, registerIndex, setupLoggingContext, toString
public DropIndexTask(IConcurrencyManager concurrencyManager, String name)
public Boolean doTask() throws Exception
doTask
in class AbstractTask<Boolean>
Boolean
value that is true
iff the index
was pre-existing at the time that this task executed and
therefore was dropped. false
is returned iff the
index did not exist at the time that this task was executed.Exception
- The exception that will be thrown by AbstractTask.call()
iff the
operation fails.InterruptedException
- This exception SHOULD be thrown if
Thread.interrupted()
becomes true during
execution.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.