Class EsRejectedExecutionException
org.elasticsearch.common.util.concurrent.EsRejectedExecutionException
- All Implemented Interfaces:
public class EsRejectedExecutionException
extends
- See Also:
- Serialized Form
-
Constructor Summary
ConstructorDescriptionmessage)
message, boolean isExecutorShutdown)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if the thread pool that rejected the execution was terminated shortly after the rejection.Methods inherited from class java.lang.
, , , , , , , , , , , ,
Methods inherited from class java.lang.
, , , , , , , , ,
-
Constructor Details
-
EsRejectedExecutionException
public EsRejectedExecutionException( message, boolean isExecutorShutdown) -
EsRejectedExecutionException
public EsRejectedExecutionException( message) -
EsRejectedExecutionException
public EsRejectedExecutionException()
-
-
Method Details
-
isExecutorShutdown
public boolean isExecutorShutdown()Checks if the thread pool that rejected the execution was terminated shortly after the rejection. Its possible that this returns false and the thread pool has since been terminated but if this returns false then the termination wasn't a factor in this rejection. Conversely if this returns true the shutdown was probably a factor in this rejection but might have been triggered just after the action rejection.
-