@Test public void testTTT(){ for (Map.Entry<InstanceIdentifier<Classifier>, Classifier> classifierEntry : classifierByIid.entrySet()) { ofStatisticsManager.pullStatsForClassifier(classifierEntry.getKey(), classifierEntry.getValue()); } }
public synchronized void pullStatsForClassifier(InstanceIdentifier<Classifier> classifierIid, Classifier classifier) { Preconditions.checkNotNull(sflowCollectorUri); Preconditions.checkNotNull(delay); FlowCache flowCache = FlowCacheFactory.createFlowCache(classifierIid, classifier, FlowCacheCons.Value.BYTES); setStatsPulling(flowCache, classifierIid); flowCache = FlowCacheFactory.createFlowCache(classifierIid, classifier, FlowCacheCons.Value.FRAMES); setStatsPulling(flowCache, classifierIid); }
OFStatisticsManager implements AutoCloseable { public synchronized void pullStatsForClassifier(InstanceIdentifier<Classifier> classifierIid, Classifier classifier) { Preconditions.checkNotNull(sflowCollectorUri); Preconditions.checkNotNull(delay); FlowCache flowCache = FlowCacheFactory.createFlowCache(classifierIid, classifier, FlowCacheCons.Value.BYTES); setStatsPulling(flowCache, classifierIid); flowCache = FlowCacheFactory.createFlowCache(classifierIid, classifier, FlowCacheCons.Value.FRAMES); setStatsPulling(flowCache, classifierIid); } }
OFStatisticsManager implements AutoCloseable { public synchronized void pullStatsForClassifier(InstanceIdentifier<Classifier> classifierIid, Classifier classifier) { Preconditions.checkNotNull(sflowCollectorUri); Preconditions.checkNotNull(delay); FlowCache flowCache = FlowCacheFactory.createFlowCache(classifierIid, classifier, FlowCacheCons.Value.BYTES); setStatsPulling(flowCache, classifierIid); flowCache = FlowCacheFactory.createFlowCache(classifierIid, classifier, FlowCacheCons.Value.FRAMES); setStatsPulling(flowCache, classifierIid); } OFStatisticsManager(ScheduledExecutorService executor, StatisticsManager statisticsManager); }
OFStatisticsManager implements AutoCloseable { public synchronized void pullStatsForClassifier(InstanceIdentifier<Classifier> classifierIid, Classifier classifier) { Preconditions.checkNotNull(sflowCollectorUri); Preconditions.checkNotNull(delay); FlowCache flowCache = FlowCacheFactory.createFlowCache(classifierIid, classifier, FlowCacheCons.Value.BYTES); setStatsPulling(flowCache, classifierIid); flowCache = FlowCacheFactory.createFlowCache(classifierIid, classifier, FlowCacheCons.Value.FRAMES); setStatsPulling(flowCache, classifierIid); } OFStatisticsManager(ScheduledExecutorService executor, StatisticsManager statisticsManager); synchronized void pullStatsForClassifier(InstanceIdentifier<Classifier> classifierIid,
            Classifier classifier); synchronized static Set<Pair<ConsEpgKey, ProvEpgKey>> getEpgsForContract(ContractId contractId); synchronized void setSflowCollectorUri(String sflowCollectorUri); synchronized void setDelay(Long delay); static EndpointL3 getEndpointL3ForIp(@Nullable String ipAddress); static void addL3Endpoint(EndpointL3 endpointL3); static void removeL3Endpoint(EndpointL3 endpointL3); @Override synchronized void close(); }
OFStatisticsManager implements AutoCloseable { public synchronized void pullStatsForClassifier(InstanceIdentifier<Classifier> classifierIid, Classifier classifier) { Preconditions.checkNotNull(sflowCollectorUri); Preconditions.checkNotNull(delay); FlowCache flowCache = FlowCacheFactory.createFlowCache(classifierIid, classifier, FlowCacheCons.Value.BYTES); setStatsPulling(flowCache, classifierIid); flowCache = FlowCacheFactory.createFlowCache(classifierIid, classifier, FlowCacheCons.Value.FRAMES); setStatsPulling(flowCache, classifierIid); } OFStatisticsManager(ScheduledExecutorService executor, StatisticsManager statisticsManager); synchronized void pullStatsForClassifier(InstanceIdentifier<Classifier> classifierIid,
            Classifier classifier); synchronized static Set<Pair<ConsEpgKey, ProvEpgKey>> getEpgsForContract(ContractId contractId); synchronized void setSflowCollectorUri(String sflowCollectorUri); synchronized void setDelay(Long delay); static EndpointL3 getEndpointL3ForIp(@Nullable String ipAddress); static void addL3Endpoint(EndpointL3 endpointL3); static void removeL3Endpoint(EndpointL3 endpointL3); @Override synchronized void close();  }