@Test public void testConstructor() throws Exception { OFStatisticsManager other = new OFStatisticsManager(executor, statisticsManager); other.close(); }
@Override public synchronized void close() throws Exception { Iterator<ScheduledFuture<?>> tasksIterator = collectStatsTasks.iterator(); while (tasksIterator.hasNext()) { ScheduledFuture<?> scheduledFuture = tasksIterator.next(); scheduledFuture.cancel(false); tasksIterator.remove(); } epgsByContractId.clear(); }
OFStatisticsManager implements AutoCloseable { @Override public synchronized void close() throws Exception { Iterator<ScheduledFuture<?>> tasksIterator = collectStatsTasks.iterator(); while (tasksIterator.hasNext()) { ScheduledFuture<?> scheduledFuture = tasksIterator.next(); scheduledFuture.cancel(false); tasksIterator.remove(); } epgsByContractId.clear(); } }
OFStatisticsManager implements AutoCloseable { @Override public synchronized void close() throws Exception { Iterator<ScheduledFuture<?>> tasksIterator = collectStatsTasks.iterator(); while (tasksIterator.hasNext()) { ScheduledFuture<?> scheduledFuture = tasksIterator.next(); scheduledFuture.cancel(false); tasksIterator.remove(); } epgsByContractId.clear(); } OFStatisticsManager(ScheduledExecutorService executor, StatisticsManager statisticsManager); }
OFStatisticsManager implements AutoCloseable { @Override public synchronized void close() throws Exception { Iterator<ScheduledFuture<?>> tasksIterator = collectStatsTasks.iterator(); while (tasksIterator.hasNext()) { ScheduledFuture<?> scheduledFuture = tasksIterator.next(); scheduledFuture.cancel(false); tasksIterator.remove(); } epgsByContractId.clear(); } 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 { @Override public synchronized void close() throws Exception { Iterator<ScheduledFuture<?>> tasksIterator = collectStatsTasks.iterator(); while (tasksIterator.hasNext()) { ScheduledFuture<?> scheduledFuture = tasksIterator.next(); scheduledFuture.cancel(false); tasksIterator.remove(); } epgsByContractId.clear(); } 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();  }