Class FilibusterServerAPI


  • public class FilibusterServerAPI
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void analysisFile​(com.linecorp.armeria.client.WebClient webClient, org.json.JSONObject jsonAnalysisConfiguration)  
      static boolean hasNextIteration​(com.linecorp.armeria.client.WebClient webClient, int currentIteration, java.lang.String caller)  
      static boolean healthCheck​(com.linecorp.armeria.client.WebClient webClient)  
      static void recordIterationComplete​(com.linecorp.armeria.client.WebClient webClient, int currentIteration, boolean exceptionOccurred, java.lang.Throwable throwable, boolean shouldPrintRpcSummary)  
      static void teardownsCompleted​(com.linecorp.armeria.client.WebClient webClient, int currentIteration)  
      static void terminate​(com.linecorp.armeria.client.WebClient webClient)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FilibusterServerAPI

        public FilibusterServerAPI()
    • Method Detail

      • healthCheck

        public static boolean healthCheck​(com.linecorp.armeria.client.WebClient webClient)
                                   throws java.util.concurrent.ExecutionException,
                                          java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • analysisFile

        public static void analysisFile​(com.linecorp.armeria.client.WebClient webClient,
                                        org.json.JSONObject jsonAnalysisConfiguration)
                                 throws java.util.concurrent.ExecutionException,
                                        java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • terminate

        public static void terminate​(com.linecorp.armeria.client.WebClient webClient)
                              throws java.util.concurrent.ExecutionException,
                                     java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • teardownsCompleted

        public static void teardownsCompleted​(com.linecorp.armeria.client.WebClient webClient,
                                              int currentIteration)
                                       throws java.util.concurrent.ExecutionException,
                                              java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • recordIterationComplete

        public static void recordIterationComplete​(com.linecorp.armeria.client.WebClient webClient,
                                                   int currentIteration,
                                                   boolean exceptionOccurred,
                                                   java.lang.Throwable throwable,
                                                   boolean shouldPrintRpcSummary)
                                            throws java.util.concurrent.ExecutionException,
                                                   java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • hasNextIteration

        public static boolean hasNextIteration​(com.linecorp.armeria.client.WebClient webClient,
                                               int currentIteration,
                                               java.lang.String caller)
                                        throws java.util.concurrent.ExecutionException,
                                               java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException