|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.index.AbstractIndexer.FlushAndUnlockIndexerQueueCallback
protected class AbstractIndexer.FlushAndUnlockIndexerQueueCallback
FutureCallback that will flush and unlock indexer queue after last task has been processed. Single instance of this callback should be created and added to all created ListenableFutureTasks
| Constructor Summary | |
|---|---|
AbstractIndexer.FlushAndUnlockIndexerQueueCallback(int tasksToProcess,
IndexerContext indexerContext)
|
|
| Method Summary | |
|---|---|
void |
onFailure(java.lang.Throwable t)
|
void |
onSuccess(java.lang.Long result)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractIndexer.FlushAndUnlockIndexerQueueCallback(int tasksToProcess,
IndexerContext indexerContext)
| Method Detail |
|---|
public void onSuccess(java.lang.Long result)
onSuccess in interface com.google.common.util.concurrent.FutureCallback<java.lang.Long>public void onFailure(java.lang.Throwable t)
onFailure in interface com.google.common.util.concurrent.FutureCallback<java.lang.Long>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||