Package com.netflix.genie.web.tasks.leader
Classes involved in leadership election and tasks associated with being a cluster leader.
- Since:
- 3.0.0
-
Class Summary Class Description AgentJobCleanupTask Leader task that cleans up jobs whose agent crashed or disconnected.ArchiveStatusCleanupTask Leader task that find jobs whose archival status was left in 'PENDING' state.DatabaseCleanupTask ALeaderTask
which will clean up the database of old records if desired.LeaderTask Interface for any task that a node elected as the leader of a Genie cluster should run.LeaderTasksCoordinator Class which handles coordinating leadership related tasks.LocalLeader A class to control leadership activities when remote leadership isn't enabled and this node has been forcibly elected as the leader.UserMetricsTask A task which publishes user metrics.