| Interface | Description |
|---|---|
| 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.
|
| ContainerDecorator |
An interface to allow you to change the
HostConfig and ContainerConfig objects
before they are sent to Docker. |
| HealthChecker | |
| RetryIntervalPolicy |
Provides retry schedulers.
|
| RetryScheduler | |
| Sleeper |
Mostly for testing.
|
| StatusUpdater |
An interface used to abstract how task statuses are reported.
|
| Supervisor.Listener |
| Class | Description |
|---|---|
| AddExtraHostContainerDecorator |
ContainerDecorator that adds to
HostConfig.extraHosts(). |
| Agent |
Runs jobs to implement the desired container deployment state.
|
| AgentConfig |
The configuration of the Helios agent.
|
| AgentInfoReporter |
Report various Agent runtime information via ZK so it can be visible to clients of Helios.
|
| AgentMain |
Instantiates and runs helios agent.
|
| AgentModelTaskResource |
Makes it so you can view the tasks as the Agent sees things.
|
| AgentModelTaskStatusResource |
Makes it so you can view the status of tasks as the Agent sees things.
|
| AgentParser |
Parses and processes command-line arguments to produce the
AgentConfig. |
| AgentService |
The Helios agent.
|
| AgentZooKeeperRegistrar |
Persistently tries to register with ZK in the face of a ZK outage.
|
| BindVolumeContainerDecorator |
Bind mounts user-specified volumes into all containers.
|
| BoundedRandomExponentialBackoff |
A retry policy that provides exponential backoff with randomization.
|
| BoundedRandomExponentialBackoff.Builder | |
| DefaultStatusUpdater |
Plain boring status updater for tasks to report their status to the
AgentModel. |
| DockerHealthChecker |
Health checker exposed by /healthcheck on the admin port (5804 by default).
|
| EnvironmentVariableReporter |
Puts the environment variables the Agent has been configured to set in all child containers
into ZK so they can be visible to the master and via the API.
|
| 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 | |
| HealthCheckerFactory | |
| HostInfoReporter |
Reports various bits of system information to ZK so it can be viewed via the the API.
|
| InterruptingScheduledService |
Runs
InterruptingScheduledService.runOneIteration() on a ScheduledExecutorService (see InterruptingScheduledService.schedule(java.lang.Runnable, java.util.concurrent.ScheduledExecutorService))
to do periodic operations. |
| LabelReporter |
Puts the labels the agent has been assigned into ZK so they can be
visible to the master and via the API.
|
| NoOpContainerDecorator |
A
ContainerDecorator that does, as its name would imply, nothing. |
| PollingDockerClient |
A
DockerClient that overrides PollingDockerClient.waitContainer(java.lang.String) to poll instead of block
indefinitely. |
| 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<V> |
Helper for getting the result of a
ListenableFuture. |
| SignalAwaitingService |
An InterruptingScheduledService which awaits on a CountDownLatch prior to
InterruptingScheduledService.runOneIteration(). |
| Supervisor |
Supervises docker containers for a single job.
|
| Supervisor.Builder | |
| SupervisorFactory |
Creates job supervisors.
|
| SyslogRedirectingContainerDecorator |
Bind mounts /usr/lib/helios inside the container as /helios, and uses the syslog-redirector
executable there to redirect container stdout/err to syslog.
|
| 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 | |
| ThreadSleeper |
An implementation of
Sleeper that calls Thread.sleep(). |
| ZooKeeperAgentModel |
The Helios Agent's view into ZooKeeper.
|
Copyright © 2017. All rights reserved.