public interface WorkConsumerService
| Modifier and Type | Method and Description |
|---|---|
void |
consumeWorkUnit()
Consumes a single work unit.
|
long |
getConsumedWorkUnits()
Returns the total number of consumed work units by the engine instance at hand since
the engine's last deployment.
|
void consumeWorkUnit()
Blocks for 15 s or until a work unit becomes consumable, if there is currently none.
long getConsumedWorkUnits()
Copyright © 2018. All rights reserved.