int removeRef ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "removeRef" ) ; int ret = NOP ; // If this is the last reference, then the operation is unsubscribe. if ( -- _refCount == 0 ) ret = UNSUBSCRIBE ; checkRefCount ( ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "removeRef" , String . valueOf ( ret ) + ":" + String . valueOf ( _refCount ) ) ; return ret ; }
Removes a reference to the subscription .