Class LazyCleaner


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

    Note: this is a driver-internal class

    • Constructor Detail

      • LazyCleaner

        public LazyCleaner​(java.time.Duration threadTtl,
                           java.lang.String threadName)
    • Method Detail

      • getInstance

        public static LazyCleaner getInstance()
        Returns a default cleaner instance.

        Note: this is driver-internal API.

        Returns:
        the instance of LazyCleaner
      • getWatchedCount

        public int getWatchedCount()
      • isThreadRunning

        public boolean isThreadRunning()