Example #1
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin       bin = (BInputBin)bin1;
            ReindexerConfig obj = (ReindexerConfig)(obj1 != null ? obj1 : bin.onObjectCreated(new ReindexerConfig()));

            base.read(obj, bin1, version);
            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.ixid = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.lastException = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.objIdRange = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.progressInPercent = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.startedAt = bbuf.getDate();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.status = (de.elo.ix.client.search.SearchIndexerStatus)bbuf.getInt();
            if (version >= 1000000000000007L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.lockName = bbuf.getString();
            }

            return(obj);
        }
Example #2
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            base.write(obj1, bout1, version);
            ReindexerConfig obj  = (ReindexerConfig)obj1;
            BOutputBin      bout = (BOutputBin)bout1;
            BBufferBin      bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.ixid);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.lastException);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.objIdRange);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.progressInPercent);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putDate(obj.startedAt);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt((int)obj.status);
            if (version >= 1000000000000007L)
            {
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putString(obj.lockName);
            }
        }
Example #3
0
 public ReindexerConfig(ReindexerConfig rhs) : base(rhs)
 {
     this.statusValue            = rhs.statusValue;
     this.startedAtValue         = rhs.startedAtValue;
     this.progressInPercentValue = rhs.progressInPercentValue;
     this.ixidValue          = rhs.ixidValue;
     this.lastExceptionValue = rhs.lastExceptionValue;
     this.objIdRangeValue    = rhs.objIdRangeValue;
     this.lockNameValue      = rhs.lockNameValue;
 }
Example #4
0
 public SearchIndexerConfig(UpdaterConfig @updaterConfig, OptimizerConfig @optimizerConfig, ReindexerConfig @reindexerConfig, LanguageConfig @languageConfig)
 {
     this.updaterConfigValue   = @updaterConfig;
     this.optimizerConfigValue = @optimizerConfig;
     this.reindexerConfigValue = @reindexerConfig;
     this.languageConfigValue  = @languageConfig;
 }