Class CleanableReferenceQueue<T>

java.lang.Object
java.lang.ref.ReferenceQueue<T>
org.eclipse.net4j.util.ref.CleanableReferenceQueue<T>

public abstract class CleanableReferenceQueue<T> extends ReferenceQueue<T>
Since:
3.6
Author:
Eike Stepper
  • Field Details

  • Constructor Details

    • CleanableReferenceQueue

      public CleanableReferenceQueue()
  • Method Details

    • getPollMillis

      public final long getPollMillis()
    • setPollMillis

      public final void setPollMillis(long pollMillis)
    • getMaxWorkPerPoll

      public final int getMaxWorkPerPoll()
    • setMaxWorkPerPoll

      public final void setMaxWorkPerPoll(int maxWorkPerPoll)
    • register

      public final void register(T object)
    • clean

      public final void clean()
    • cleanReference

      protected abstract void cleanReference(Reference<? extends T> reference)
    • createReference

      protected abstract Reference<T> createReference(T object)