Class JobResolutionProperties

java.lang.Object
com.netflix.genie.web.properties.JobResolutionProperties

@Validated public class JobResolutionProperties extends Object
Properties related to the job resolution process. If loaded as a Spring bean this class with auto refresh its contents.
Since:
4.3.0
  • Constructor Details

    • JobResolutionProperties

      public JobResolutionProperties(org.springframework.core.env.Environment environment)
      Constructor.
      Parameters:
      environment - The spring environment
  • Method Details

    • getDefaultComputeResources

      public ComputeResources getDefaultComputeResources()
      Get the default ComputeResources if any were defined.
      Returns:
      The current default ComputeResources values
    • getDefaultImages

      public Map<String,Image> getDefaultImages()
      Get the default mapping of images.
      Returns:
      The map of image key to Image values
    • refresh

      @Scheduled(fixedRate=30L, timeUnit=SECONDS) public void refresh()
      Refresh the values of the properties contained within this object.