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.ext | |
org.apache.twill.yarn |
Classes in this package implement the Twill API for Apache Hadoop YARN.
|
Class and Description |
---|
ClassAcceptor
Class that can be used to determine if class can be accepted.
|
Command
Represents command objects.
|
Command.Builder
Builder for creating
Command object. |
ElectionHandler
Handles events of election/un-election of leader.
|
EventHandler
A callback handler for acting on application events related to
TwillRunnable lifecycle events. |
EventHandler.TimeoutAction
Represents action to act upon runnable launch timeout.
|
EventHandler.TimeoutEvent
This class holds information about a launch timeout event.
|
EventHandlerContext
Represents runtime context for
EventHandler . |
EventHandlerSpecification
Specification for
EventHandler . |
Hosts
Represents a list of hosts.
|
LocalFile
This interface represents a local file that will be available for the container running a
TwillRunnable . |
Racks
Represents a list of Racks.
|
ResourceReport
This interface provides a snapshot of the resources an application is using
broken down by each runnable.
|
ResourceSpecification
This interface provides specifications for resource requirements including set and get methods
for number of cores, amount of memory, and number of instances.
|
ResourceSpecification.Builder.AfterInstances |
ResourceSpecification.Builder.AfterMemory |
ResourceSpecification.Builder.AfterUplink |
ResourceSpecification.Builder.Build |
ResourceSpecification.Builder.CoreSetter |
ResourceSpecification.Builder.Done |
ResourceSpecification.Builder.MemorySetter |
ResourceSpecification.SizeUnit
Unit for specifying memory size.
|
RunId
Represents the unique ID of a particular execution.
|
RuntimeSpecification
Specifications for runtime requirements.
|
SecureStore
Represents storage of secure tokens.
|
SecureStoreUpdater
Deprecated.
This class doesn't handle user correctly, use
SecureStoreRenewer instead |
ServiceAnnouncer
This interface provides a way to announce the availability of a service.
|
ServiceController
This interface is for controlling a remote running service.
|
ServiceController.TerminationStatus
Enum to represent termination status of the application when it completed.
|
TwillApplication
Represents a application that can be launched by Twill.
|
TwillContext
Represents the runtime context of a
TwillRunnable . |
TwillController
For controlling a running application.
|
TwillPreparer
This interface exposes methods to set up the Twill runtime environment and start a Twill application.
|
TwillRunnable
The
TwillRunnable interface should be implemented by any
class whose instances are intended to be executed in a Twill cluster. |
TwillRunnableSpecification
Represents a specification of a
TwillRunnable . |
TwillRunnableSpecification.Builder.AfterConfigs |
TwillRunnableSpecification.Builder.AfterName |
TwillRunnableSpecification.Builder.NameSetter |
TwillRunner
This interface prepares execution of
TwillRunnable and TwillApplication . |
TwillRunner.LiveInfo
Interface to represents information of a live application.
|
TwillRunResources
Information about the container the
TwillRunnable
is running in. |
TwillSpecification
Represents specification of a
TwillApplication . |
TwillSpecification.Builder.AfterName |
TwillSpecification.Builder.AfterOrder |
TwillSpecification.Builder.AfterPlacementPolicy
Interface to define execution order after adding placement policies.
|
TwillSpecification.Builder.AfterRunnable |
TwillSpecification.Builder.FirstOrder |
TwillSpecification.Builder.LocalFileAdder |
TwillSpecification.Builder.MoreFile |
TwillSpecification.Builder.MorePlacementPolicies
Interface to add placement policies to the application.
|
TwillSpecification.Builder.MoreRunnable |
TwillSpecification.Builder.NameSetter |
TwillSpecification.Builder.NextOrder |
TwillSpecification.Builder.PlacementPolicySetter |
TwillSpecification.Builder.RunnableSetter |
TwillSpecification.Builder.RuntimeSpecificationAdder
For setting runtime specific settings.
|
TwillSpecification.Order
Defines execution order.
|
TwillSpecification.Order.Type |
TwillSpecification.PlacementPolicy
Defines a container placement policy.
|
TwillSpecification.PlacementPolicy.Type
Lists different types of Placement Policies available.
|
Class and Description |
---|
RunId
Represents the unique ID of a particular execution.
|
SecureStore
Represents storage of secure tokens.
|
Class and Description |
---|
Command
Represents command objects.
|
TwillContext
Represents the runtime context of a
TwillRunnable . |
TwillRunnable
The
TwillRunnable interface should be implemented by any
class whose instances are intended to be executed in a Twill cluster. |
TwillRunnableSpecification
Represents a specification of a
TwillRunnable . |
Class and Description |
---|
ResourceSpecification
This interface provides specifications for resource requirements including set and get methods
for number of cores, amount of memory, and number of instances.
|
RunId
Represents the unique ID of a particular execution.
|
SecureStore
Represents storage of secure tokens.
|
SecureStoreUpdater
Deprecated.
This class doesn't handle user correctly, use
SecureStoreRenewer instead |
TwillApplication
Represents a application that can be launched by Twill.
|
TwillController
For controlling a running application.
|
TwillPreparer
This interface exposes methods to set up the Twill runtime environment and start a Twill application.
|
TwillRunnable
The
TwillRunnable interface should be implemented by any
class whose instances are intended to be executed in a Twill cluster. |
TwillRunner
This interface prepares execution of
TwillRunnable and TwillApplication . |
TwillRunner.LiveInfo
Interface to represents information of a live application.
|
TwillRunnerService
A
TwillRunner that provides lifecycle management functions. |
Copyright © 2013-2016 The Apache Software Foundation. All rights reserved.