Class OptimizingRegisterBlockFetcher

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer getAllowedGapReadSize() How many registers may needlessly be read to optimize fetching
      final Unit setAllowedGapReadSize(Integer allowedGapReadSize)
      List<RegisterBlockFetcher.FetchBatch> calculateFetchBatches(Long maxAge) Determine which sets of registers need to be retrieved again.
      • Methods inherited from class nl.basjes.modbus.schema.fetcher.RegisterBlockFetcher

        getRegisters, update, update, update
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OptimizingRegisterBlockFetcher

        OptimizingRegisterBlockFetcher(SchemaDevice schemaDevice, ModbusDevice modbusDevice)