com.bigdata.journal
Class CompactTask.CopyIndexTask
java.lang.Object
com.bigdata.journal.CompactTask.CopyIndexTask
- All Implemented Interfaces:
- Callable<Void>
- Enclosing class:
- CompactTask
protected class CompactTask.CopyIndexTask
- extends Object
- implements Callable<Void>
Copy an index to the new journal.
- Version:
- $Id: CompactTask.java 2547 2010-03-24 20:44:07Z thompsonbry $
- Author:
- Bryan Thompson
|
Method Summary |
Void |
call()
Creates and index on the newJournal, copies the data from
the index on the old journal, and then registers the new index on the
newJournal. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newJournal
protected final Journal newJournal
- The new journal.
entry
protected final Name2Addr.Entry entry
- An
Name2Addr.Entry from the Name2Addr index for an index
defined on the CompactTask.oldJournal.
CompactTask.CopyIndexTask
public CompactTask.CopyIndexTask(Journal newJournal,
Name2Addr.Entry entry)
- Parameters:
newJournal - The new journal.entry - An Name2Addr.Entry from the Name2Addr index for an
index defined on the CompactTask.oldJournal.
call
public Void call()
throws Exception
- Creates and index on the
newJournal, copies the data from
the index on the old journal, and then registers the new index on the
newJournal.
- Specified by:
call in interface Callable<Void>
- Throws:
Exception
Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.