@Deprecated
public class FastQueue
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static StringManager |
sm
Deprecated.
|
Constructor and Description |
---|
FastQueue()
Deprecated.
Generate Queue SingleRemoveSynchronizedAddLock and set add and wait
Timeouts
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(ChannelMessage msg,
Member[] destination,
InterceptorPayload payload)
Deprecated.
Add new data to the queue.
|
long |
getAddWaitTimeout()
Deprecated.
get current add wait timeout
|
int |
getMaxQueueLength()
Deprecated.
|
int |
getMaxSize()
Deprecated.
|
long |
getRemoveWaitTimeout()
Deprecated.
get current remove wait timeout
|
int |
getSize()
Deprecated.
|
boolean |
isEnabled()
Deprecated.
|
LinkObject |
remove()
Deprecated.
Remove the complete queued object list.
|
void |
setAddWaitTimeout(long timeout)
Deprecated.
Set add wait timeout (default 10000 msec)
|
void |
setEnabled(boolean enable)
Deprecated.
|
void |
setMaxQueueLength(int length)
Deprecated.
|
void |
setMaxSize(int size)
Deprecated.
|
void |
setRemoveWaitTimeout(long timeout)
Deprecated.
set remove wait timeout ( default 30000 msec)
|
void |
start()
Deprecated.
start queuing
|
void |
stop()
Deprecated.
start queuing
|
protected static final StringManager sm
public FastQueue()
public long getAddWaitTimeout()
public void setAddWaitTimeout(long timeout)
timeout
- public long getRemoveWaitTimeout()
public void setRemoveWaitTimeout(long timeout)
timeout
- public int getMaxQueueLength()
public void setMaxQueueLength(int length)
public boolean isEnabled()
public void setEnabled(boolean enable)
public int getMaxSize()
public void setMaxSize(int size)
size
- public void start()
public void stop()
public int getSize()
public boolean add(ChannelMessage msg, Member[] destination, InterceptorPayload payload)
public LinkObject remove()
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.