Class RequestCancellation

java.lang.Object
com.seeq.link.sdk.utilities.RequestCancellation

public class RequestCancellation extends Object
  • Constructor Details

    • RequestCancellation

      public RequestCancellation()
  • Method Details

    • check

      public static void check()
      Checks if this thread has been interrupted, and throws an OperationCanceledException if so. This is necessary anywhere we want to check for cancellation where no blocking methods are called. Methods such as Thread.Sleep that throw an InterruptedException will check, but in other situations explicitly checking is necessary.