|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.aspire.nm.component.cmppserver.runTime.moProcess.queue.MOQueue<T>
@Scope(value="prototype") @Component public class MOQueue<T>
| 构造方法摘要 | |
|---|---|
MOQueue()
|
|
| 方法摘要 | |
|---|---|
void |
afterPropertiesSet()
|
void |
clear()
清空队列 |
boolean |
offer(T e)
|
void |
put(T e)
加入对象 |
boolean |
putBack(T e)
将之前去除的元素退回 |
int |
queueSize()
|
int |
remainingCapacity()
取得可用空间 |
int |
size()
取得队列中存在对象数量 |
T |
take()
取出对象 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public MOQueue()
| 方法详细信息 |
|---|
public void afterPropertiesSet()
throws Exception
org.springframework.beans.factory.InitializingBean 中的 afterPropertiesSetException
public void put(T e)
throws InterruptedException
o -
InterruptedExceptionpublic boolean offer(T e)
public T take()
throws InterruptedException
InterruptedExceptionpublic int size()
public int queueSize()
public int remainingCapacity()
public void clear()
public boolean putBack(T e)
e -
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||