Generalization of a background process that runs in a thread, and can be stopped.
Custom handler interface for the admin web site.
This allows us to turn on and off Finagle's tracing.
Serve static pages as java resources.
Support for heapster profiling (google perftools compatible):
Background process that performs some task periodically, over a given duration.
Use information in a local build.properties
file to determine runtime
environment info like the package name, version, and installation path.
A service is any task that can be shutdown or reloaded by the admin server.
Collect stats over a rolling window of the last hour and report them to a web handler, for generating ad-hoc realtime graphs.
Can turn trace recording on and off for the entire service.
Deal with requests from the mesos executor
Single server object that can track multiple Service implementations and multiplex the shutdown & quiesce commands.