Kafka.Client.ZooKeeperIntegration.Listeners.BrokerTopicsListener.ResetState C# (CSharp) Méthode

ResetState() public méthode

Resets the state of listener.
public ResetState ( ) : void
Résultat void
        public void ResetState()
        {
            Logger.Debug("Before reseting broker topic partitions state -> "
                + this.oldBrokerTopicsPartitionsMap.ToMultiString(
                x => x.Key + " --> " + x.Value.ToMultiString(y => y.ToString(), ","), "; "));
            this.oldBrokerTopicsPartitionsMap = actualBrokerTopicsPartitionsMap;
            Logger.Debug("After reseting broker topic partitions state -> "
                + this.oldBrokerTopicsPartitionsMap.ToMultiString(
                x => x.Key + " --> " + x.Value.ToMultiString(y => y.ToString(), ","), "; "));
            Logger.Debug("Before reseting broker id map state -> "
                + this.oldBrokerIdMap.ToMultiString(", "));
            this.oldBrokerIdMap = this.actualBrokerIdMap;
            Logger.Debug("After reseting broker id map state -> "
                + this.oldBrokerIdMap.ToMultiString(", "));
        }