| Interface | Description |
|---|---|
| LongLivedProcessLifecycleEvent |
Callback when a long-lived application exits
|
| ServiceParent |
Interface for accessing services that contain one or more child
services.
|
| Class | Description |
|---|---|
| ClosingService<C extends Closeable> |
Service that closes the closeable supplied during shutdown, if not null.
|
| ForkedProcessService |
Service wrapper for an external program that is launched and can/will terminate.
|
| LongLivedProcess |
Execute a long-lived process.
|
| ServiceTerminatingCallable<V> |
A runnable which terminates its owner; it also catches any
exception raised and can serve it back.
|
| ServiceTerminatingRunnable |
A runnable which terminates its after running; it also catches any
exception raised and can serve it back.
|
| ServiceThreadFactory |
A thread factory that creates threads (possibly daemon threads)
using the name and naming policy supplied.
|
| WorkflowCallbackService<V> |
A service that calls the supplied callback when it is started -after the
given delay.
|
| WorkflowCompositeService |
An extended composite service which stops itself if any child service
fails, or when all its children have successfully stopped without failure.
|
| WorkflowExecutorService<E extends ExecutorService> |
A service that hosts an executor -when the service is stopped,
ExecutorService.shutdownNow() is invoked. |
| WorkflowRpcService |
A YARN service that maps the start/stop lifecycle of an RPC server
to the YARN service lifecycle.
|
| WorkflowScheduledExecutorService<E extends ScheduledExecutorService> |
Scheduled executor or subclass thereof
|
| WorkflowSequenceService |
This resembles the YARN CompositeService, except that it
starts one service after another
Workflow
When the
WorkflowSequenceService instance is
initialized, it only initializes itself.
When the WorkflowSequenceService instance is
started, it initializes then starts the first of its children. |
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.