public void transfer ( E e ) throws InterruptedException { if ( xfer ( e , true , SYNC , 0 ) != null ) { Thread . interrupted ( ) ; // failure possible only due to interrupt throw new InterruptedException ( ) ; } }
Transfers the element to a consumer waiting if necessary to do so .