public interface TaskSchedulerBuilder
Note that the Fenzo-provided TaskScheduler.Builder
cannot be mocked, which motivates this interface.
Modifier and Type | Method and Description |
---|---|
com.netflix.fenzo.TaskScheduler |
build()
Build a Fenzo task scheduler.
|
TaskSchedulerBuilder |
withLeaseRejectAction(com.netflix.fenzo.functions.Action1<com.netflix.fenzo.VirtualMachineLease> action)
Set the callback action for rejecting a lease.
|
TaskSchedulerBuilder withLeaseRejectAction(com.netflix.fenzo.functions.Action1<com.netflix.fenzo.VirtualMachineLease> action)
com.netflix.fenzo.TaskScheduler build()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.