| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Access | Constructor and Description |
|---|---|
| pack-priv | ThreadPerTaskBoundedElasticScheduler(int maxThreads, int maxTaskQueuedPerThread, ThreadFactory factory)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | await(ThreadPerTaskBoundedElasticScheduler.
Implements reactor. |
| public Scheduler. | createWorker()
Implements reactor. |
| public Object | scanUnsafe(Scannable.
a keyAttr to resolve for the component.Implements reactor. |
| public Disposable | schedule(Runnable
the task to execute task)Implements reactor. |
| ThreadPerTaskBoundedElasticScheduler | back to summary |
|---|---|
| pack-priv ThreadPerTaskBoundedElasticScheduler(int maxThreads, int maxTaskQueuedPerThread, ThreadFactory factory) | |
| await | back to summary |
|---|---|
| public boolean await(ThreadPerTaskBoundedElasticScheduler. Implements reactor.
| |
| createWorker | back to summary |
|---|---|
| public Scheduler. Implements reactor. Doc from reactor. Creates a worker of this Scheduler.
Once the Worker is no longer in use, one should call dispose() on it to
release any resources the particular Scheduler may have used.
It depends on the implementation, but Scheduler Workers should usually run tasks in
FIFO order. Some implementations may entirely delegate the scheduling to an
underlying structure (like an | |
| scanUnsafe | back to summary |
|---|---|
| public Object scanUnsafe(Scannable. Implements reactor. Doc from reactor. This method is used internally by components to define their key-value mappings
in a single place. Although it is ignoring the generic type of the
For public consumption of attributes, prefer using | |
| schedule | back to summary |
|---|---|
| public Disposable schedule(Runnable task) Implements reactor. Doc from reactor. Schedules the non-delayed execution of the given task on this scheduler. This method is safe to be called from multiple threads but there are no ordering guarantees between tasks.
| |
| Access | Constructor and Description |
|---|---|
| private | |
| pack-priv |
| BoundedServices | back to summary |
|---|---|
| private BoundedServices() | |
| BoundedServices | back to summary |
|---|---|
| pack-priv BoundedServices(ThreadPerTaskBoundedElasticScheduler parent) | |