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); } }
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); }
public SearchIndexerConfig(UpdaterConfig @updaterConfig, OptimizerConfig @optimizerConfig, ReindexerConfig @reindexerConfig, LanguageConfig @languageConfig) { this.updaterConfigValue = @updaterConfig; this.optimizerConfigValue = @optimizerConfig; this.reindexerConfigValue = @reindexerConfig; this.languageConfigValue = @languageConfig; }
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; }