public final void stop ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "stop" ) ; synchronized ( lockObject ) { addEnabled = false ; // Prevent further expirables being added if ( runEnabled ) { runEnabled = false ; // This should terminate expiry expirerStopTime = timeNow ( ) ; } if ( expiryAlarm != null ) // Cancel any outstanding alarm { expiryAlarm . cancel ( ) ; expiryAlarm = null ; } } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "stop" ) ; }
Stop the expiry daemon .