Package org.jgroups.stack
Class CheckCallerRunsPolicy
java.lang.Object
org.jgroups.stack.CheckCallerRunsPolicy
- All Implemented Interfaces:
Policy
If either
UNICAST3 or NAKACK2 are missing, then
this policy checks that the thread pool has a rejection policy of
ThreadPoolExecutor.CallerRunsPolicy.
Issues a warning and changes the rejection policy to ThreadPoolExecutor.CallerRunsPolicy
if not.
- Since:
- 5.2.14
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks that a condition is met in a given protocolprotected static boolean
-
Field Details
-
UNICAST3
-
NAKACK2
-
-
Constructor Details
-
CheckCallerRunsPolicy
public CheckCallerRunsPolicy()
-
-
Method Details