Tabnine Logo
RemoteJudgeRequest.builder
Code IndexAdd Tabnine to your IDE (free)

How to use
builder
method
in
com.netflix.kayenta.judge.model.RemoteJudgeRequest

Best Java code snippets using com.netflix.kayenta.judge.model.RemoteJudgeRequest.builder (Showing top 2 results out of 315)

origin: spinnaker/kayenta

 @Override
 public CanaryJudgeResult judge(CanaryConfig canaryConfig,
                 CanaryClassifierThresholdsConfig scoreThresholds,
                 List<MetricSetPair> metricSetPairList) {

  RemoteJudgeService remoteJudge = retrofitClientFactory.createClient(
   RemoteJudgeService.class,
   new JacksonConverter(kayentaObjectMapper),
   endpoint,
   httpClient);

  RemoteJudgeRequest judgeRequest = RemoteJudgeRequest.builder()
   .canaryConfig(canaryConfig)
   .metricSetPairList(metricSetPairList)
   .scoreThresholds(scoreThresholds)
   .build();

  return remoteJudge.judge(judgeRequest);
 }
}
origin: com.netflix.kayenta/kayenta-judge

 @Override
 public CanaryJudgeResult judge(CanaryConfig canaryConfig,
                 CanaryClassifierThresholdsConfig scoreThresholds,
                 List<MetricSetPair> metricSetPairList) {

  RemoteJudgeService remoteJudge = retrofitClientFactory.createClient(
   RemoteJudgeService.class,
   new JacksonConverter(kayentaObjectMapper),
   endpoint,
   httpClient);

  RemoteJudgeRequest judgeRequest = RemoteJudgeRequest.builder()
   .canaryConfig(canaryConfig)
   .metricSetPairList(metricSetPairList)
   .scoreThresholds(scoreThresholds)
   .build();

  return remoteJudge.judge(judgeRequest);
 }
}
com.netflix.kayenta.judge.modelRemoteJudgeRequestbuilder

Popular methods of RemoteJudgeRequest

    Popular in Java

    • Reading from database using SQL prepared statement
    • getOriginalFilename (MultipartFile)
      Return the original filename in the client's filesystem.This may contain path information depending
    • setScale (BigDecimal)
    • addToBackStack (FragmentTransaction)
    • Proxy (java.net)
      This class represents proxy server settings. A created instance of Proxy stores a type and an addres
    • Arrays (java.util)
      This class contains various methods for manipulating arrays (such as sorting and searching). This cl
    • NoSuchElementException (java.util)
      Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
    • TimerTask (java.util)
      The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
    • ExecutorService (java.util.concurrent)
      An Executor that provides methods to manage termination and methods that can produce a Future for tr
    • ThreadPoolExecutor (java.util.concurrent)
      An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
    • Top Vim plugins
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now