Beispiel #1
0
        public SmugglerResult()
        {
            _sw       = Stopwatch.StartNew();
            _messages = new List <string>();

            /*
             *  NOTE:
             *
             *  About to add new/change property below?
             *
             *  Please remember to include this property in SmugglerProgress class
             */

            DatabaseRecord            = new DatabaseRecordProgress();
            Documents                 = new CountsWithSkippedCountAndLastEtag();
            RevisionDocuments         = new CountsWithLastEtag();
            Tombstones                = new CountsWithLastEtag();
            Conflicts                 = new CountsWithLastEtag();
            Identities                = new CountsWithLastEtag();
            Indexes                   = new Counts();
            CompareExchange           = new CountsWithLastEtag();
            Counters                  = new CountsWithLastEtag();
            CompareExchangeTombstones = new Counts();
            Subscriptions             = new Counts();
            _progress                 = new SmugglerProgress(this);
        }
Beispiel #2
0
        public SmugglerResult()
        {
            _sw       = Stopwatch.StartNew();
            _messages = new List <string>();
            _progress = new SmugglerProgress(this);

            Documents         = new CountsWithSkippedCountAndLastEtag();
            RevisionDocuments = new CountsWithLastEtag();
            Tombstones        = new CountsWithLastEtag();
            Identities        = new Counts();
            Indexes           = new Counts();
        }