com.bigdata.journal
Class DropIndexTask
java.lang.Object
com.bigdata.journal.AbstractTask
com.bigdata.journal.DropIndexTask
- All Implemented Interfaces:
- ITask, Callable
public class DropIndexTask
- extends AbstractTask
Drop a named index (unisolated write operation).
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.
- Version:
- $Id: DropIndexTask.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
| Fields inherited from class com.bigdata.journal.AbstractTask |
checkpointNanoTime, concurrencyManager, DEBUG, INFO, isReadWriteTx, log, nanoTime_assignedWorker, nanoTime_beginWork, nanoTime_finishedWork, nanoTime_submitTask, readOnly, resourceManager, taskCounters, timestamp, transactionManager, tx |
| Methods inherited from class com.bigdata.journal.AbstractTask |
assertResource, assertRunning, assertUnisolated, call, clearLoggingContext, dropIndex, getCommitTime, getIndex, getJournal, getOnlyResource, getResource, getResourceManager, getTaskCounters, getTaskName, getTimestamp, isResource, registerIndex, setupLoggingContext, toString |
DropIndexTask
public DropIndexTask(IConcurrencyManager concurrencyManager,
String name)
doTask
public Object doTask()
throws Exception
- Drop the named index.
- Specified by:
doTask in class AbstractTask
- Returns:
- A
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.
- Throws:
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-2009 SYSTAP, LLC. All Rights Reserved.