Package | Description |
---|---|
org.apache.twill.internal |
This package provides internal classes for Twill.
|
Modifier and Type | Method and Description |
---|---|
ProcessLauncher.PrepareLaunchContext |
ProcessLauncher.PrepareLaunchContext.addCommand(String cmd,
String... args)
Adds a command line to run in the container process.
|
<V> ProcessLauncher.PrepareLaunchContext |
ProcessLauncher.PrepareLaunchContext.addEnvironment(String key,
V value)
Adds a key value pair to the container environment.
|
ProcessLauncher.PrepareLaunchContext |
ProcessLauncher.PrepareLaunchContext.addResources(Iterable<LocalFile> localFiles)
Adds list of files to be localized for the container.
|
ProcessLauncher.PrepareLaunchContext |
ProcessLauncher.PrepareLaunchContext.addResources(LocalFile... localFiles)
Adds list of files to be localized for the container.
|
<C> ProcessLauncher.PrepareLaunchContext |
ProcessLauncher.prepareLaunch(Map<String,String> environments,
Iterable<LocalFile> resources,
C credentials)
Returns a preparer with the given default set of environments, resources and credentials.
|
Constructor and Description |
---|
TwillContainerLauncher(RuntimeSpecification runtimeSpec,
ContainerInfo containerInfo,
ProcessLauncher.PrepareLaunchContext launchContext,
ZKClient zkClient,
int instanceCount,
JvmOptions jvmOpts,
int reservedMemory,
double minHeapRatio,
Location secureStoreLocation) |
Copyright © 2013-2020 The Apache Software Foundation. All rights reserved.