Class LazyCleaner

java.lang.Object
org.postgresql.util.LazyCleaner

public class LazyCleaner extends Object
LazyCleaner is a utility class that allows to register objects for deferred cleanup.

Note: this is a driver-internal class

  • Field Details

    • LOGGER

      private static final Logger LOGGER
    • instance

      private static final LazyCleaner instance
    • queue

      private final ReferenceQueue<Object> queue
    • threadTtl

      private final long threadTtl
    • threadFactory

      private final ThreadFactory threadFactory
    • threadRunning

      private boolean threadRunning
    • watchedCount

      private int watchedCount
    • first

      private LazyCleaner.Node<?> first
  • Constructor Details

  • Method Details