private void startUnsubscriptionForMonitoring(Set<String> passiveProvidersChangeSet){
  for (  String smisProviderUri : passiveProvidersChangeSet) {
    if (_connectionFactory.unsubscribeSMIProviderConnection(smisProviderUri)) {
      ACTIVE_SMIS_PROVIDERS_CACHE.remove(smisProviderUri);
      _logger.info("Cleared existing subscription for the passive SMI-S Provider :{}",smisProviderUri);
    }
 else {
      _logger.error("Un Subscription to the passive SMIS provider {} is failed. " + "Controller will try to un-subscribe in the next scheduled cycle",smisProviderUri);
    }
  }
}

private void startUnsubscriptionForMonitoring ( Set < String > passiveProvidersChangeSet ) { for ( String smisProviderUri : passiveProvidersChangeSet ) { if ( _connectionFactory . unsubscribeSMIProviderConnection ( smisProviderUri ) ) { ACTIVE_SMIS_PROVIDERS_CACHE . remove ( smisProviderUri ) ; _logger . info ( "Cleared existing subscription for the passive SMI-S Provider :{}" , smisProviderUri ) ; } else { _logger . error ( "Un Subscription to the passive SMIS provider {} is failed. " + "Controller will try to un-subscribe in the next scheduled cycle" , smisProviderUri ) ; } } }
clears existing subscription for the given list of unique passive smis providers for monitoring
