public void retryOperation ( Operation op ) { if ( retryQueueSize >= 0 && retryOps . size ( ) >= retryQueueSize ) { if ( ! op . isCancelled ( ) ) { op . cancel ( ) ; } } retryOps . add ( op ) ; }
Add a operation to the retry queue .