Class SimplePerProcessExecutorService

java.lang.Object
io.deephaven.util.SimplePerProcessExecutorService

public final class SimplePerProcessExecutorService extends Object
A class that provides a simple per process executor service. Useful for cases where some action needs to be scheduled asynchronously for later. A prime example is async gRPC retries after a backoff.
  • Constructor Details

    • SimplePerProcessExecutorService

      public SimplePerProcessExecutorService()
  • Method Details

    • getSharedExecutor

      public static ScheduledExecutorService getSharedExecutor()
      Get the simple per-process shared executor service.
      Returns:
      the simple per-process shared executor service.