1 10 11 package org.mule.util.queue; 12 13 19 public interface Queue 20 { 21 22 27 int size(); 28 29 34 void put(Object o) throws InterruptedException ; 35 36 41 Object take() throws InterruptedException ; 42 43 Object peek() throws InterruptedException ; 44 45 Object poll(long timeout) throws InterruptedException ; 46 47 boolean offer(Object o, long timeout) throws InterruptedException ; 48 49 } 50 | Popular Tags |