Class SigInt

java.lang.Object
org.agrona.concurrent.SigInt

public final class SigInt extends Object
Utility to allow the registration of a SIGINT handler that hides the unsupported jdk.internal.misc.Signal class.
  • Method Details

    • register

      public static void register(Runnable task)
      Register a task to be run when a SIGINT is received.
      Parameters:
      task - to run on reception of the signal.