protected static TransmissionDataIterator allocateFromPool ( Connection connection , JFapByteBuffer buffer , int priority , boolean isPooled , boolean isExchange , int segmentType , int conversationId , int requestNumber , Conversation conversation , SendListener sendListener , boolean isTerminal , int size ) { if ( tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "allocateFromPool" ) ; TransmissionDataIterator retValue = ( TransmissionDataIterator ) pool . remove ( ) ; if ( retValue == null ) retValue = new TransmissionDataIterator ( ) ; retValue . reset ( connection , buffer , priority , isPooled , isExchange , segmentType , conversationId , requestNumber , conversation , sendListener , isTerminal , size ) ; if ( tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "allocateFromPool" , retValue ) ; return retValue ; }
Allocates an instance of this class from a pool