public synchronized void incrementUseCount ( ) throws SIConnectionUnavailableException , SIConnectionDroppedException , SIErrorException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "incrementUseCount" ) ; // Check if this ordering conext instance is "dead". If it is, then this order context has been closed and // we need to obtain a new proxy id for it. if ( dead ) { setOrderingContextProxyId ( ) ; dead = false ; } useCount ++ ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) SibTr . debug ( this , tc , "Use count is now: " + useCount ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "incrementUseCount" ) ; }
This method will increment the use count on this order context .