agave-notifications/notifications-core/src/main/java/org/iplantc/service/notification/dao/FailedNotificationAttemptQueue.java
/**
	 * Removes all {@link NotificationAttempt} from a {@link Notification} attempt queue.
	 * 
	 * @param notificationId notification uuid
	 * @return the {@link NotificationAttempt} at the top of the queue or null if the queue is empty.
	 * @throws NotificationException if unable to clear all attempts for the notification
	 */
Removes all  NotificationAttempt from a  Notification attempt queue.

@param notificationId notification uuid
@return the  NotificationAttempt at the top of the queue or null if the queue is empty.
@throws NotificationException if unable to clear all attempts for the notification
Removes all NotificationAttempt from a Notification attempt queue . @param notificationId notification uuid @return the NotificationAttempt at the top of the queue or null if the queue is empty . @throws NotificationException if unable to clear all attempts for the notification
public void removeAll(String notificationId)
	throws NotificationException
	{
		try {
			getMongoClient().getDatabase(Settings.FAILED_NOTIFICATION_DB_SCHEME)
					.getCollection(notificationId)
					.drop();
		}
		catch (MongoException e) {
			log.error("Failed to clear attempt history for notification " + notificationId, e);
		}
		catch (Exception e) {
			log.error("Unexpected server error while clearing attempt history for notification " +
					notificationId, e);
		}
	}
public void removeAll ( String notificationId ) throws NotificationException { try { getMongoClient ( ) . getDatabase ( Settings . FAILED_NOTIFICATION_DB_SCHEME ) . getCollection ( notificationId ) . drop ( ) ; } catch ( MongoException e ) { log . error ( "Failed to clear attempt history for notification " + notificationId , e ) ; } catch ( Exception e ) { log . error ( "Unexpected server error while clearing attempt history for notification " + notificationId , e ) ; } }
Removes all {@link NotificationAttempt} from a {@link Notification} attempt queue.
Removes all { @link NotificationAttempt } from a { @link Notification } attempt queue .