138139140141142143144145146147148
return null; } public int size() { checkTransactionState(); SizeOperation operation = new SizeOperation(name); try { Future<Integer> f = invoke(operation); Integer size = f.get(); return size + offeredQueue.size(); } catch (Throwable t) {