public WaitNotifyKey getWaitKey() {
return getOrCreateContainer().getOfferWaitNotifyKey();
}
public boolean shouldWait() {
QueueContainer container = getOrCreateContainer();
<BUG>return getWaitTimeoutMillis() != 0 && !container.hasEnoughCapacity();
</BUG>
}
public void onWaitExpire() {
getResponseHandler().sendResponse(null);

public WaitNotifyKey getWaitKey() {
return getOrCreateContainer().getOfferWaitNotifyKey();
}
public boolean shouldWait() {
QueueContainer container = getOrCreateContainer();
return getWaitTimeoutMillis() != 0 && !container.hasEnoughCapacity(txSize+1);
}
public void onWaitExpire() {
getResponseHandler().sendResponse(null);
