@Test public void testRemoveFlowClassifier() { testCreateFlowClassifier(); assertThat(flowClassifierMgr.removeFlowClassifier(flowClassifierId), is(true)); }
@Override public boolean removeFlowClassifier(FlowClassifierId id) { checkNotNull(id, FLOW_CLASSIFIER_ID_NOT_NULL); flowClassifierStore.remove(id); if (flowClassifierStore.containsKey(id)) { log.debug("The Flow Classifier removal is failed whose identifier is {}", id.toString()); return false; } return true; }
FlowClassifierManager extends AbstractListenerManager<FlowClassifierEvent, FlowClassifierListener> implements FlowClassifierService { @Override public boolean removeFlowClassifier(FlowClassifierId id) { checkNotNull(id, FLOW_CLASSIFIER_ID_NOT_NULL); flowClassifierStore.remove(id); if (flowClassifierStore.containsKey(id)) { log.debug("The Flow Classifier removal is failed whose identifier is {}", id.toString()); return false; } return true; } }
FlowClassifierManager extends AbstractListenerManager<FlowClassifierEvent, FlowClassifierListener> implements FlowClassifierService { @Override public boolean removeFlowClassifier(FlowClassifierId id) { checkNotNull(id, FLOW_CLASSIFIER_ID_NOT_NULL); flowClassifierStore.remove(id); if (flowClassifierStore.containsKey(id)) { log.debug("The Flow Classifier removal is failed whose identifier is {}", id.toString()); return false; } return true; }  }
FlowClassifierManager extends AbstractListenerManager<FlowClassifierEvent, FlowClassifierListener> implements FlowClassifierService { @Override public boolean removeFlowClassifier(FlowClassifierId id) { checkNotNull(id, FLOW_CLASSIFIER_ID_NOT_NULL); flowClassifierStore.remove(id); if (flowClassifierStore.containsKey(id)) { log.debug("The Flow Classifier removal is failed whose identifier is {}", id.toString()); return false; } return true; }  @Override boolean exists(FlowClassifierId id); @Override int getFlowClassifierCount(); @Override Iterable<FlowClassifier> getFlowClassifiers(); @Override FlowClassifier getFlowClassifier(FlowClassifierId id); @Override boolean createFlowClassifier(FlowClassifier flowClassifier); @Override boolean updateFlowClassifier(FlowClassifier flowClassifier); @Override boolean removeFlowClassifier(FlowClassifierId id); }
FlowClassifierManager extends AbstractListenerManager<FlowClassifierEvent, FlowClassifierListener> implements FlowClassifierService { @Override public boolean removeFlowClassifier(FlowClassifierId id) { checkNotNull(id, FLOW_CLASSIFIER_ID_NOT_NULL); flowClassifierStore.remove(id); if (flowClassifierStore.containsKey(id)) { log.debug("The Flow Classifier removal is failed whose identifier is {}", id.toString()); return false; } return true; }  @Override boolean exists(FlowClassifierId id); @Override int getFlowClassifierCount(); @Override Iterable<FlowClassifier> getFlowClassifiers(); @Override FlowClassifier getFlowClassifier(FlowClassifierId id); @Override boolean createFlowClassifier(FlowClassifier flowClassifier); @Override boolean updateFlowClassifier(FlowClassifier flowClassifier); @Override boolean removeFlowClassifier(FlowClassifierId id);  }