public class CallerBlocksPolicy extends Object implements RejectedExecutionHandler
The behaviour of an application using this policy is similar to one using the
but instead of running a certain
Callable on the main thread, which may block this thread
extremely long - much longer than the other
Callables run, the main thread already continues
as soon as any of the currently running tasks finished.
|Constructor and Description|
Copyright © 2013–2018. All rights reserved.