private TargetStream createStream ( StreamSet streamSet , int priority , Reliability reliability , long completedPrefix ) throws SIResourceException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "createStream" , new Object [ ] { streamSet , Integer . valueOf ( priority ) , reliability , Long . valueOf ( completedPrefix ) } ) ; TargetStream stream = null ; stream = createStream ( streamSet , priority , reliability ) ; stream . setCompletedPrefix ( completedPrefix ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "createStream" ) ; return stream ; }
Create a new TargetStream and initialize it with a given completed prefix . Always called with streamSet lock