See: Description
Interface | Description |
---|---|
Command |
Represents command objects.
|
ElectionHandler |
Handles events of election/un-election of leader.
|
EventHandlerContext |
Represents runtime context for
EventHandler . |
EventHandlerSpecification |
Specification for
EventHandler . |
LocalFile |
This interface represents a local file that will be available for the container running a
TwillRunnable . |
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.
|
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.
|
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 . |
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. |
TwillRunResources |
Information about the container the
TwillRunnable
is running in. |
TwillSpecification |
Represents specification of a
TwillApplication . |
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.MorePlacementPolicies |
Interface to add placement policies to the application.
|
TwillSpecification.Builder.MoreRunnable | |
TwillSpecification.Builder.NextOrder | |
TwillSpecification.Order |
Defines execution order.
|
TwillSpecification.PlacementPolicy |
Defines a container placement policy.
|
Class | Description |
---|---|
AbstractTwillRunnable |
This abstract class provides default implementation of the
TwillRunnable . |
ClassAcceptor |
Class that can be used to determine if class can be accepted.
|
Command.Builder |
Builder for creating
Command object. |
Configs |
Defines keys and default values constants being used for configuration.
|
Configs.Defaults |
Defines default configuration values.
|
Configs.Keys |
Defines keys being used in configuration.
|
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.
|
Hosts |
Represents a list of hosts.
|
Racks |
Represents a list of Racks.
|
ResourceSpecification.Builder |
Builder for creating
ResourceSpecification . |
TwillRunnableSpecification.Builder |
Builder for constructing
TwillRunnableSpecification . |
TwillSpecification.Builder |
Builder for constructing instance of
TwillSpecification . |
Enum | Description |
---|---|
ResourceSpecification.SizeUnit |
Unit for specifying memory size.
|
ServiceController.TerminationStatus |
Enum to represent termination status of the application when it completed.
|
TwillSpecification.Order.Type | |
TwillSpecification.PlacementPolicy.Type |
Lists different types of Placement Policies available.
|
Copyright © 2013-2016 The Apache Software Foundation. All rights reserved.