public synchronized void remove ( RemoteAsyncResultImpl asyncResult ) { ivAllRemoteAsyncResults . remove ( asyncResult ) ; releaseResources ( asyncResult ) ; // d690014.3 // If no server-side Future objects and an alarm is set then cancel the alarm. d623593 if ( ivAllRemoteAsyncResults . isEmpty ( ) && ivFuture != null ) { ivFuture . cancel ( false ) ; ivFuture = null ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "remove " + asyncResult + "; size=" + ivAllRemoteAsyncResults . size ( ) ) ; }
Remove a server - side Future object from the reaper and release its resources .