Package org.shoulder.monitor.concurrent
Class MonitorableBlockingQueue
java.lang.Object
org.shoulder.core.concurrent.BaseDecorateableBlockingQueue<Runnable>
org.shoulder.monitor.concurrent.MonitorableBlockingQueue
- All Implemented Interfaces:
Iterable<Runnable>,Collection<Runnable>,BlockingQueue<Runnable>,Queue<Runnable>
帮助 MonitorableRunnable 统计队列内待的时间
- Author:
- lym
-
Nested Class Summary
Nested classes/interfaces inherited from class org.shoulder.core.concurrent.BaseDecorateableBlockingQueue
BaseDecorateableBlockingQueue.DisableRemoveIterator<X> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.shoulder.core.concurrent.BaseDecorateableBlockingQueue
add, addAll, clear, contains, containsAll, drainTo, drainTo, element, getQueue, isEmpty, iterator, offer, offer, peek, poll, poll, put, remainingCapacity, remove, remove, removeAll, retainAll, size, take, toArray, toArrayMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
MonitorableBlockingQueue
-
-
Method Details
-
beforeInQueue
- Overrides:
beforeInQueuein classBaseDecorateableBlockingQueue<Runnable>
-
afterOutQueue
- Overrides:
afterOutQueuein classBaseDecorateableBlockingQueue<Runnable>
-