Klasse ReferenceQueueWorker<T>

Alle implementierten Schnittstellen:
INotifier, INotifier.INotifier2, IDeactivateable, ILifecycle, ILifecycle.DeferrableActivation
Bekannte direkte Unterklassen:
ReferenceMonitor

public abstract class ReferenceQueueWorker<T> extends Worker
Seit:
2.0
Autor:
Eike Stepper
  • Felddetails

    • ALL_WORK_PER_POLL

      public static final int ALL_WORK_PER_POLL
      Seit:
      3.0
      Siehe auch:
    • DEFAULT_MAX_WORK_PER_POLL

      public static final int DEFAULT_MAX_WORK_PER_POLL
      Seit:
      3.0
      Siehe auch:
    • DEFAULT_POLL_MILLIS

      public static final int DEFAULT_POLL_MILLIS
      Seit:
      3.0
      Siehe auch:
  • Konstruktordetails

    • ReferenceQueueWorker

      public ReferenceQueueWorker()
  • Methodendetails

    • getPollMillis

      public long getPollMillis()
    • setPollMillis

      public void setPollMillis(long pollMillis)
    • getMaxWorkPerPoll

      public int getMaxWorkPerPoll()
    • setMaxWorkPerPoll

      public void setMaxWorkPerPoll(int maxWorkPerPoll)
    • getQueue

      protected ReferenceQueue<T> getQueue()
    • work

      protected final void work(Worker.WorkContext context) throws Exception
      Angegeben von:
      work in Klasse Worker
      Löst aus:
      Exception
    • work

      protected abstract void work(Reference<? extends T> reference)