@Test public void constructorTest() throws Exception { renderer.close(); verify(configReg, atLeastOnce()).close(); }
@Override public void close() throws Exception { executor.shutdownNow(); if (configReg != null) { configReg.close(); } if (switchManager != null) { switchManager.close(); } if (endpointManager != null) { endpointManager.close(); } if (classifierDefinitionListener != null) { classifierDefinitionListener.close(); } if (actionDefinitionListener != null) { actionDefinitionListener.close(); } if (ofOverlayAug != null) { ofOverlayAug.close(); } if (ofOverlayL3NatAug != null) { ofOverlayL3NatAug.close(); } if (policyManager != null) { policyManager.close(); } if (sflowClientSettingsListener != null) { sflowClientSettingsListener.close(); } }
OFOverlayRenderer implements AutoCloseable, DataTreeChangeListener<OfOverlayConfig> { @Override public void close() throws Exception { executor.shutdownNow(); if (configReg != null) { configReg.close(); } if (switchManager != null) { switchManager.close(); } if (endpointManager != null) { endpointManager.close(); } if (classifierDefinitionListener != null) { classifierDefinitionListener.close(); } if (actionDefinitionListener != null) { actionDefinitionListener.close(); } if (ofOverlayAug != null) { ofOverlayAug.close(); } if (ofOverlayL3NatAug != null) { ofOverlayL3NatAug.close(); } if (policyManager != null) { policyManager.close(); } if (sflowClientSettingsListener != null) { sflowClientSettingsListener.close(); } } }
OFOverlayRenderer implements AutoCloseable, DataTreeChangeListener<OfOverlayConfig> { @Override public void close() throws Exception { executor.shutdownNow(); if (configReg != null) { configReg.close(); } if (switchManager != null) { switchManager.close(); } if (endpointManager != null) { endpointManager.close(); } if (classifierDefinitionListener != null) { classifierDefinitionListener.close(); } if (actionDefinitionListener != null) { actionDefinitionListener.close(); } if (ofOverlayAug != null) { ofOverlayAug.close(); } if (ofOverlayL3NatAug != null) { ofOverlayL3NatAug.close(); } if (policyManager != null) { policyManager.close(); } if (sflowClientSettingsListener != null) { sflowClientSettingsListener.close(); } } OFOverlayRenderer(final DataBroker dataProvider,
            PacketProcessingService packetProcessingService,
            SalFlowService flowService,
            NotificationService notificationService,
            EpRendererAugmentationRegistry epRendererAugmentationRegistry,
            PolicyValidatorRegistry policyValidatorRegistry,
            StatisticsManager statisticsManager,
            final short tableOffset); }
OFOverlayRenderer implements AutoCloseable, DataTreeChangeListener<OfOverlayConfig> { @Override public void close() throws Exception { executor.shutdownNow(); if (configReg != null) { configReg.close(); } if (switchManager != null) { switchManager.close(); } if (endpointManager != null) { endpointManager.close(); } if (classifierDefinitionListener != null) { classifierDefinitionListener.close(); } if (actionDefinitionListener != null) { actionDefinitionListener.close(); } if (ofOverlayAug != null) { ofOverlayAug.close(); } if (ofOverlayL3NatAug != null) { ofOverlayL3NatAug.close(); } if (policyManager != null) { policyManager.close(); } if (sflowClientSettingsListener != null) { sflowClientSettingsListener.close(); } } OFOverlayRenderer(final DataBroker dataProvider,
            PacketProcessingService packetProcessingService,
            SalFlowService flowService,
            NotificationService notificationService,
            EpRendererAugmentationRegistry epRendererAugmentationRegistry,
            PolicyValidatorRegistry policyValidatorRegistry,
            StatisticsManager statisticsManager,
            final short tableOffset); ScheduledExecutorService getExecutor(); @Override void close(); @Override void onDataTreeChanged(Collection<DataTreeModification<OfOverlayConfig>> changes); }
OFOverlayRenderer implements AutoCloseable, DataTreeChangeListener<OfOverlayConfig> { @Override public void close() throws Exception { executor.shutdownNow(); if (configReg != null) { configReg.close(); } if (switchManager != null) { switchManager.close(); } if (endpointManager != null) { endpointManager.close(); } if (classifierDefinitionListener != null) { classifierDefinitionListener.close(); } if (actionDefinitionListener != null) { actionDefinitionListener.close(); } if (ofOverlayAug != null) { ofOverlayAug.close(); } if (ofOverlayL3NatAug != null) { ofOverlayL3NatAug.close(); } if (policyManager != null) { policyManager.close(); } if (sflowClientSettingsListener != null) { sflowClientSettingsListener.close(); } } OFOverlayRenderer(final DataBroker dataProvider,
            PacketProcessingService packetProcessingService,
            SalFlowService flowService,
            NotificationService notificationService,
            EpRendererAugmentationRegistry epRendererAugmentationRegistry,
            PolicyValidatorRegistry policyValidatorRegistry,
            StatisticsManager statisticsManager,
            final short tableOffset); ScheduledExecutorService getExecutor(); @Override void close(); @Override void onDataTreeChanged(Collection<DataTreeModification<OfOverlayConfig>> changes); static final RendererName RENDERER_NAME; }