public void clear() {
    for (final Pair<ExecutionReference, ExecutableFlow> pair : this.queuedFlowMap.values()) {
      dequeue(pair.getFirst().getExecId());
    }
  }
public void clear ( ) { for ( final Pair < ExecutionReference , ExecutableFlow > pair : this . queuedFlowMap . values ( ) ) { dequeue ( pair . getFirst ( ) . getExecId ( ) ) ; } }
Empties queue by dequeuing all the elements