Class RejectAllJobsAgentMetadataInspector

java.lang.Object
com.netflix.genie.web.agent.inspectors.impl.RejectAllJobsAgentMetadataInspector
All Implemented Interfaces:
AgentMetadataInspector

public class RejectAllJobsAgentMetadataInspector extends Object implements AgentMetadataInspector
An AgentMetadataInspector that accepts or rejects all agents based on the value of an environment property. This mechanism allows temporarily disabling all new inbound jobs while at the same time keeping the servers running.
Since:
4.0.0
  • Constructor Details

    • RejectAllJobsAgentMetadataInspector

      public RejectAllJobsAgentMetadataInspector(org.springframework.core.env.Environment environment)
      Constructor.
      Parameters:
      environment - the environment
  • Method Details