1 16 package org.apache.cocoon.components.thread; 17 18 30 public class BoundedQueue 31 extends EDU.oswego.cs.dl.util.concurrent.BoundedBuffer 32 implements Queue 33 { 34 36 39 public BoundedQueue( ) 40 { 41 super( ); 42 } 43 44 51 public BoundedQueue( int capacity ) 52 throws IllegalArgumentException  53 { 54 super( capacity ); 55 } 56 57 59 64 public int getQueueSize( ) 65 { 66 return usedSlots_; 67 } 68 } 69 | Popular Tags |