Interface SchedulerStateGateway

    • Method Detail

      • insertSchedulerRow

        default boolean insertSchedulerRow​(int version)
        The method will insert a row in auxliary scheduler table for current db time and given version
        Parameters:
        version - the version of the AuxTableTasksProvided used by this scheduler (value of AuxiliaryTablesBasedTaskProvider.VERSION
        Returns:
        true if row has been inserted, false otherwise
      • insertSchedulerRow

        @Deprecated(since="2105",
                    forRemoval=true)
        boolean insertSchedulerRow​(java.time.Instant now,
                                   int version)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 2105, use insertSchedulerRow(int) instead
        Parameters:
        now - this param is deprecated and will be ignored, see insertSchedulerRow(int)
      • updateSchedulerRow

        boolean updateSchedulerRow​(java.time.Instant now,
                                   java.time.Instant oldTimestamp)
      • getSchedulerTimestamp

        java.util.Optional<SchedulerState> getSchedulerTimestamp()