1 14 15 package org.logicalcobwebs.concurrent; 16 17 229 230 public interface Channel extends Puttable, Takable { 231 232 244 public void put(Object item) throws InterruptedException ; 245 246 262 public boolean offer(Object item, long msecs) throws InterruptedException ; 263 264 275 public Object take() throws InterruptedException ; 276 277 278 293 294 public Object poll(long msecs) throws InterruptedException ; 295 296 300 301 public Object peek(); 302 303 } 304 305 | Popular Tags |