public class CallerBlocksPolicy extends ObjectSE implements RejectedExecutionHandlerSE
RejectedExecutionHandlerSE(この場合、RejectedExecutionExceptionSE がスローされます。| コンストラクターと説明 |
|---|
CallerBlocksPolicy(long maxWait) 指定された最大待機時間に基づいてインスタンスを構築します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | rejectedExecution(RunnableSE r, ThreadPoolExecutorSE executor) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic CallerBlocksPolicy(long maxWait)
maxWait - キュースロットが使用可能になるまで待機する最大時間(ミリ秒単位)。public void rejectedExecution(RunnableSE r, ThreadPoolExecutorSE executor)
RejectedExecutionHandlerSE 内の rejectedExecutionSE