Package | Description |
---|---|
org.apache.twill.api |
Classes in this package provides core functionality of the Twill library.
|
org.apache.twill.internal |
This package provides internal classes for Twill.
|
Modifier and Type | Method and Description |
---|---|
TwillRunResources |
ResourceReport.getAppMasterResources()
Get the resources application master is using.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Collection<TwillRunResources>> |
ResourceReport.getResources()
Get all the run resources being used across all runnables.
|
Collection<TwillRunResources> |
ResourceReport.getRunnableResources(String runnableName)
Get all the run resources being used by all instances of the specified runnable.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultTwillRunResources
Straightforward implementation of
TwillRunResources . |
Modifier and Type | Method and Description |
---|---|
TwillRunResources |
DefaultResourceReport.getAppMasterResources()
Get the resources application master is using.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Collection<TwillRunResources>> |
DefaultResourceReport.getResources()
Get all the run resources being used across all runnables.
|
Collection<TwillRunResources> |
DefaultResourceReport.getRunnableResources(String runnableName)
Get all the run resources being used by all instances of the specified runnable.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultResourceReport.addRunResources(String runnableName,
TwillRunResources resources)
Add resources used by an instance of the runnable.
|
Constructor and Description |
---|
DefaultResourceReport(String applicationId,
TwillRunResources masterResources) |
DefaultResourceReport(String applicationId,
TwillRunResources masterResources,
Map<String,Collection<TwillRunResources>> resources,
List<String> services) |
Constructor and Description |
---|
DefaultResourceReport(String applicationId,
TwillRunResources masterResources,
Map<String,Collection<TwillRunResources>> resources,
List<String> services) |
Copyright © 2013-2020 The Apache Software Foundation. All rights reserved.