@Test public void getLastRemovedTime() throws InterruptedException { Thread.sleep(10); long now = System.currentTimeMillis(); queue.poll(); assertTrue(timeBuffer(now, (long)queue.getLastRemovedTime())); }
public Long getLastRemovedTime() { return lastRemovedTime; }
TrackedPriorityBlockingQueue extends PriorityBlockingQueue<E> implements ITrackedQueue<E> { public Long getLastRemovedTime() { return lastRemovedTime; } }
TrackedPriorityBlockingQueue extends PriorityBlockingQueue<E> implements ITrackedQueue<E> { public Long getLastRemovedTime() { return lastRemovedTime; } TrackedPriorityBlockingQueue(); }
TrackedPriorityBlockingQueue extends PriorityBlockingQueue<E> implements ITrackedQueue<E> { public Long getLastRemovedTime() { return lastRemovedTime; } TrackedPriorityBlockingQueue(); Long getOldestItemTime(); @Override boolean offer(E e); @Override E poll(); @Override boolean remove(Object o); Long getLastAddedTime(); Long getLastRemovedTime(); }
TrackedPriorityBlockingQueue extends PriorityBlockingQueue<E> implements ITrackedQueue<E> { public Long getLastRemovedTime() { return lastRemovedTime; } TrackedPriorityBlockingQueue(); Long getOldestItemTime(); @Override boolean offer(E e); @Override E poll(); @Override boolean remove(Object o); Long getLastAddedTime(); Long getLastRemovedTime();  }