Class FixedCountNodeAllocatorService

java.lang.Object
io.trino.execution.scheduler.FixedCountNodeAllocatorService
All Implemented Interfaces:
NodeAllocatorService

@ThreadSafe public class FixedCountNodeAllocatorService extends Object implements NodeAllocatorService
A simplistic node allocation service which only limits number of allocations per node within each FixedCountNodeAllocatorService.FixedCountNodeAllocator instance. Each allocator will allow each node to be acquired up to MAXIMUM_ALLOCATIONS_PER_NODE times at the same time.
  • Constructor Details

    • FixedCountNodeAllocatorService

      @Inject public FixedCountNodeAllocatorService(NodeScheduler nodeScheduler)
  • Method Details