Package | Description |
---|---|
com.pushtechnology.diffusion.api.threads |
Diffusion Threads and Concurrency API.
|
Modifier and Type | Class and Description |
---|---|
static class |
ThreadService.AbortRejectionPolicy
A
ThreadPoolRejectionHandler that simply throws an Exception. |
static class |
ThreadService.CallerRunsRejectionPolicy
A
ThreadPoolRejectionHandler which attempts to run the task in
the current thread. |
Modifier and Type | Method and Description |
---|---|
ThreadPoolRejectionHandler |
ThreadPool.getRejectionHandler()
Returns the current
ThreadPoolRejectionHandler . |
Modifier and Type | Method and Description |
---|---|
void |
ThreadPool.setRejectionHandler(ThreadPoolRejectionHandler handler)
Sets the handler to be used for tasks that can not be executed by the
pool.
|
Copyright © 2016 Push Technology Ltd. All Rights Reserved.