Exemplo n.º 1
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            base.write(obj1, bout1, version);
            UpdaterConfig obj  = (UpdaterConfig)obj1;
            BOutputBin    bout = (BOutputBin)bout1;
            BBufferBin    bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.intervalMinutes);
            // 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.putDate(obj.nextRunAt);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.progressInPercent);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt((int)obj.status);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putDate(obj.updateNewerThan);
            if (version >= 1000000000000007L)
            {
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putString(obj.lockName);
            }
        }
Exemplo n.º 2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin     bin = (BInputBin)bin1;
            UpdaterConfig obj = (UpdaterConfig)(obj1 != null ? obj1 : bin.onObjectCreated(new UpdaterConfig()));

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

            // checkpoint byps.gen.cs.PrintContext:449
            obj.intervalMinutes = bbuf.getInt();
            // 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.nextRunAt = bbuf.getDate();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.progressInPercent = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.status = (de.elo.ix.client.search.SearchIndexerStatus)bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.updateNewerThan = bbuf.getDate();
            if (version >= 1000000000000007L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.lockName = bbuf.getString();
            }

            return(obj);
        }
Exemplo n.º 3
0
 public SearchIndexerConfig(UpdaterConfig @updaterConfig, OptimizerConfig @optimizerConfig, ReindexerConfig @reindexerConfig, LanguageConfig @languageConfig)
 {
     this.updaterConfigValue   = @updaterConfig;
     this.optimizerConfigValue = @optimizerConfig;
     this.reindexerConfigValue = @reindexerConfig;
     this.languageConfigValue  = @languageConfig;
 }
Exemplo n.º 4
0
 public UpdaterConfig(UpdaterConfig rhs) : base(rhs)
 {
     this.statusValue            = rhs.statusValue;
     this.nextRunAtValue         = rhs.nextRunAtValue;
     this.intervalMinutesValue   = rhs.intervalMinutesValue;
     this.updateNewerThanValue   = rhs.updateNewerThanValue;
     this.progressInPercentValue = rhs.progressInPercentValue;
     this.ixidValue          = rhs.ixidValue;
     this.lastExceptionValue = rhs.lastExceptionValue;
     this.lockNameValue      = rhs.lockNameValue;
 }