public static interface TwillSpecification.Builder.MorePlacementPolicies
| Modifier and Type | Method and Description |
|---|---|
TwillSpecification.Builder.PlacementPolicySetter |
add(Hosts hosts,
Racks racks,
String runnableName,
String... runnableNames)
Specify hosts and racks for a list of runnables.
|
TwillSpecification.Builder.PlacementPolicySetter |
add(Hosts hosts,
String runnableName,
String... runnableNames)
Specify hosts for a list of runnables.
|
TwillSpecification.Builder.PlacementPolicySetter |
add(Racks racks,
String runnableName,
String... runnableNames)
Specify racks for a list of runnables.
|
TwillSpecification.Builder.PlacementPolicySetter |
add(TwillSpecification.PlacementPolicy.Type type,
String runnableName,
String... runnableNames)
Specify a placement policy for a list of runnables.
|
TwillSpecification.Builder.PlacementPolicySetter add(Hosts hosts, String runnableName, String... runnableNames)
hosts - Hosts specifying a set of hosts.runnableName - a runnable name.runnableNames - a list of runnable names.TwillSpecification.Builder.PlacementPolicySetter add(Racks racks, String runnableName, String... runnableNames)
racks - Racks specifying a set of racks.runnableName - a runnable name.runnableNames - a list of runnable names.TwillSpecification.Builder.PlacementPolicySetter add(Hosts hosts, Racks racks, String runnableName, String... runnableNames)
TwillSpecification.Builder.PlacementPolicySetter add(TwillSpecification.PlacementPolicy.Type type, String runnableName, String... runnableNames)
type - TwillSpecification.PlacementPolicy.Type specifying a specific placement policy type.runnableName - a runnable name.runnableNames - a list of runnable names.Copyright © 2013-2016 The Apache Software Foundation. All rights reserved.