| Package | Description |
|---|---|
| com.spotify.helios.agent | |
| com.spotify.helios.master.reaper | |
| com.spotify.helios.servicescommon |
| Class and Description |
|---|
| AgentConfig
The configuration of the Helios agent.
|
| AgentModel
Models the desired state of a host as provided by masters and provides a way for an agent to
indicate its current state.
|
| AgentModel.Listener
A listener for changes to the set of tasks.
|
| AgentParser
Parses and processes command-line arguments to produce the
AgentConfig. |
| BoundedRandomExponentialBackoff
A retry policy that provides exponential backoff with randomization.
|
| BoundedRandomExponentialBackoff.Builder |
| ContainerDecorator
An interface to allow you to change the
HostConfig and ContainerConfig objects
before they are sent to Docker. |
| Execution |
| FlapController
Tracks container starts and exits and determines if the task is "flapping", which is to say:
it's exiting rapidly and repeatedly.
|
| FlapController.Builder |
| HealthChecker |
| InterruptingScheduledService
Runs
InterruptingScheduledService.runOneIteration() on a ScheduledExecutorService (see InterruptingScheduledService.schedule(java.lang.Runnable, java.util.concurrent.ScheduledExecutorService))
to do periodic operations. |
| PortAllocator
A simple port allocator.
|
| Reaper
Find containers running in our namespace for which we don't have a record that we started, and
kill them.
|
| RestartPolicy
Return the proper docker container restart delay based upon the throttle state of the task.
|
| RestartPolicy.Builder |
| Result
Helper for getting the result of a
ListenableFuture. |
| RetryIntervalPolicy
Provides retry schedulers.
|
| RetryScheduler |
| SignalAwaitingService
An InterruptingScheduledService which awaits on a CountDownLatch prior to
InterruptingScheduledService.runOneIteration(). |
| Sleeper
Mostly for testing.
|
| StatusUpdater
An interface used to abstract how task statuses are reported.
|
| Supervisor
Supervises docker containers for a single job.
|
| Supervisor.Builder |
| Supervisor.Listener |
| SupervisorFactory
Creates job supervisors.
|
| TaskConfig
Provides docker container configuration for running a task.
|
| TaskConfig.Builder |
| TaskHistoryWriter
Writes task history to ZK, and attempts to gracefully handle the case where ZK is down, and tries
to lose the right things if it has to lose stuff.
|
| TaskMonitor
A monitor for
TaskRunner, processing events into observations about the health of a task,
e.g. |
| TaskRunnerFactory
As you might guess, creates
TaskRunners. |
| TaskRunnerFactory.Builder |
| ZooKeeperAgentModel
The Helios Agent's view into ZooKeeper.
|
| Class and Description |
|---|
| InterruptingScheduledService
Runs
InterruptingScheduledService.runOneIteration() on a ScheduledExecutorService (see InterruptingScheduledService.schedule(java.lang.Runnable, java.util.concurrent.ScheduledExecutorService))
to do periodic operations. |
| Class and Description |
|---|
| RetryIntervalPolicy
Provides retry schedulers.
|
| Sleeper
Mostly for testing.
|
Copyright © 2017. All rights reserved.