public interface RExecutorService extends ExecutorService, RExecutorServiceAsync
ExecutorService
Modifier and Type | Method and Description |
---|---|
boolean |
delete()
Deletes executor request queue and state objects
|
String |
getName()
Returns executor name
|
void |
registerWorkers(int workers)
Register workers
|
void |
registerWorkers(int workers,
ExecutorService executor)
Register workers with custom executor which executes each task
|
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
deleteAsync, submitAsync, submitAsync
String getName()
boolean delete()
true
if any of objects were deletedvoid registerWorkers(int workers)
workers
- - workers amountvoid registerWorkers(int workers, ExecutorService executor)
workers
- - workers amountexecutor
- - executor instanceCopyright © 2014–2017 The Redisson Project. All rights reserved.