Class CleanupReferenceProcessor

java.lang.Object
io.deephaven.util.reference.CleanupReferenceProcessor

public class CleanupReferenceProcessor extends Object
Utility for draining a reference queue of CleanupReferences and invoking their cleanup methods.
  • Constructor Details

    • CleanupReferenceProcessor

      public CleanupReferenceProcessor(@NotNull @NotNull String name, long shutdownCheckDelayMillis, @NotNull @NotNull CleanupReferenceProcessor.ExceptionHandler exceptionHandler)
      Construct a new CleanupReferenceProcessor.
      Parameters:
      name - The name of the processor, used for naming threads
      shutdownCheckDelayMillis - The frequency with which to check for shutdown
      exceptionHandler - Callback for exception handling
  • Method Details