Package com.yahoo.jrt

Class InvokeProxy

java.lang.Object
com.yahoo.jrt.InvokeProxy

public class InvokeProxy extends Object
Invokes asynchronous JRT requests in a blocking method, that can be aborted by calling shutdown(). This can be used when one would like to use invokeSync(), but when abortion is required.

This class is thread safe.

Author:
Haavard Pettersen
  • Constructor Details

    • InvokeProxy

      public InvokeProxy()
  • Method Details

    • invoke

      public Request invoke(Request req, Target target, double timeout)
    • shutdown

      public void shutdown()