Package org.jgroups.util
Class ProgressCheckRejectionPolicy
- java.lang.Object
-
- org.jgroups.util.ProgressCheckRejectionPolicy
-
- All Implemented Interfaces:
java.util.concurrent.RejectedExecutionHandler
public class ProgressCheckRejectionPolicy extends java.lang.Object implements java.util.concurrent.RejectedExecutionHandlerDetects- Since:
- 1/29/13
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.RejectedExecutionHandlerfallbackprivate longlast_changeprivate longlast_completedstatic java.lang.StringNAMEprivate longperiodNot changed count of executed tasks for this period will trigger an exception
-
Constructor Summary
Constructors Constructor Description ProgressCheckRejectionPolicy(java.lang.String rejection_policy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrejectedExecution(java.lang.Runnable r, java.util.concurrent.ThreadPoolExecutor executor)
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
period
private long period
Not changed count of executed tasks for this period will trigger an exception
-
last_completed
private long last_completed
-
last_change
private long last_change
-
fallback
private java.util.concurrent.RejectedExecutionHandler fallback
-
-