| Package | Description |
|---|---|
| org.apache.twill.api |
Classes in this package provides core functionality of the Twill library.
|
| org.apache.twill.api.security | |
| org.apache.twill.yarn |
Classes in this package implement the Twill API for Apache Hadoop YARN.
|
| Modifier and Type | Method and Description |
|---|---|
RunId |
TwillContext.getApplicationRunId()
Returns the
RunId of this running application. |
RunId |
TwillContext.getRunId()
Returns the
RunId of this running instance of TwillRunnable. |
RunId |
ServiceController.getRunId()
Returns the
RunId of the running application. |
RunId |
EventHandlerContext.getRunId() |
| Modifier and Type | Method and Description |
|---|---|
TwillController |
TwillRunner.lookup(String applicationName,
RunId runId)
Gets a
TwillController for the given application and runId. |
SecureStore |
SecureStoreUpdater.update(String application,
RunId runId)
Deprecated.
Invoked when an update to SecureStore is needed.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
SecureStoreRenewer.renew(String application,
RunId runId,
SecureStoreWriter secureStoreWriter)
Renew the secure store for an application run.
|
| Modifier and Type | Method and Description |
|---|---|
TwillController |
YarnTwillRunnerService.lookup(String applicationName,
RunId runId) |
Copyright © 2013-2016 The Apache Software Foundation. All rights reserved.