public void removeAllOperations(){
  if (operationHandlerThreadHandler != null) {
    operationHandlerThreadHandler.removeCallbacksAndMessages(null);
  }
  operationQueue.clear();
}

public void removeAllOperations ( ) { if ( operationHandlerThreadHandler != null ) { operationHandlerThreadHandler . removeCallbacksAndMessages ( null ) ; } operationQueue . clear ( ) ; }
remove all pending operations that are in operationqueue
