public class TranslogService.TranslogBasedFlush extends AbstractRunnable
| コンストラクタと説明 |
|---|
TranslogBasedFlush() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected void |
doRun()
This method has the same semantics as
Runnable.run() |
boolean |
maybeFlushAndReschedule()
checks if we need to flush and reschedules a new check. returns true if a new check was scheduled
|
void |
onFailure(Throwable t)
This method is invoked for all exception thrown by
AbstractRunnable.doRun() |
void |
onRejection(Throwable t)
This should be executed if the thread-pool executing this action rejected the execution.
|
isForceExecution, onAfter, runpublic void onFailure(Throwable t)
AbstractRunnableAbstractRunnable.doRun()onFailure クラス内 AbstractRunnablepublic void onRejection(Throwable t)
AbstractRunnableAbstractRunnable.onFailure(Throwable)onRejection クラス内 AbstractRunnableprotected void doRun()
throws Exception
AbstractRunnableRunnable.run()doRun クラス内 AbstractRunnableInterruptedException - if the run method throws an InterruptedExceptionExceptionpublic boolean maybeFlushAndReschedule()
Copyright © 2009–2016. All rights reserved.