Class ExtrapolationServiceClient<C>


  • public class ExtrapolationServiceClient<C>
    extends java.lang.Object
    This class describes the client that is responsible for the communication with an Extrapolation Service. The client accepts x- and y-values of anchor points, creates a request and sends this request to an Extrapolation Service. The configuration which was computed by the Extrapolation Service is returned after the response has been received.
    • Constructor Summary

      Constructors 
      Constructor Description
      ExtrapolationServiceClient​(java.lang.String serviceUrl, java.lang.Class<C> configClass)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      C getConfigForAnchorPoints​(int[] xValuesArr, double[] yValuesArr)  
      • Methods inherited from class java.lang.Object

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

      • ExtrapolationServiceClient

        public ExtrapolationServiceClient​(java.lang.String serviceUrl,
                                          java.lang.Class<C> configClass)
    • Method Detail

      • getConfigForAnchorPoints

        public C getConfigForAnchorPoints​(int[] xValuesArr,
                                          double[] yValuesArr)
                                   throws InvalidAnchorPointsException,
                                          java.lang.InterruptedException,
                                          java.util.concurrent.ExecutionException
        Throws:
        InvalidAnchorPointsException
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException