org.apache.tomcat.util.net
public static class NioEndpoint.TaskQueue extends java.util.concurrent.LinkedBlockingQueue<java.lang.Runnable>
Constructor and Description |
---|
NioEndpoint.TaskQueue() |
NioEndpoint.TaskQueue(java.util.Collection<? extends java.lang.Runnable> c) |
NioEndpoint.TaskQueue(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
boolean |
offer(java.lang.Runnable o) |
void |
setParent(java.util.concurrent.ThreadPoolExecutor tp,
NioEndpoint ep) |
clear, drainTo, drainTo, iterator, offer, peek, poll, poll, put, remainingCapacity, remove, size, take, toArray, toArray, toString
contains, containsAll, isEmpty, removeAll, retainAll
public NioEndpoint.TaskQueue()
public NioEndpoint.TaskQueue(int initialCapacity)
public NioEndpoint.TaskQueue(java.util.Collection<? extends java.lang.Runnable> c)
public void setParent(java.util.concurrent.ThreadPoolExecutor tp, NioEndpoint ep)
public boolean offer(java.lang.Runnable o)
offer
in interface java.util.concurrent.BlockingQueue<java.lang.Runnable>
offer
in interface java.util.Queue<java.lang.Runnable>
offer
in class java.util.concurrent.LinkedBlockingQueue<java.lang.Runnable>
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.