All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jobrunr.server.dashboard.PollIntervalInSecondsTimeBoxIsTooSmallNotification Maven / Gradle / Ivy

Go to download

An easy way to perform background processing on the JVM. Backed by persistent storage. Open and free for commercial use.

There is a newer version: 7.4.0
Show newest version
package org.jobrunr.server.dashboard;

import java.time.Instant;

public class PollIntervalInSecondsTimeBoxIsTooSmallNotification implements DashboardNotification {

    private final long runIndex;
    private final Integer pollIntervalInSeconds;
    private final Instant runStartTime;
    private final Integer actualDurationInSeconds;

    public PollIntervalInSecondsTimeBoxIsTooSmallNotification(long runIndex, Integer pollIntervalInSeconds, Instant runStartTime, Integer actualDurationInSeconds) {
        this.runIndex = runIndex;
        this.pollIntervalInSeconds = pollIntervalInSeconds;
        this.runStartTime = runStartTime;
        this.actualDurationInSeconds = actualDurationInSeconds;
    }

    public long getRunIndex() {
        return runIndex;
    }

    public Instant getRunStartTime() {
        return runStartTime;
    }

    public Integer getPollIntervalInSeconds() {
        return pollIntervalInSeconds;
    }

    public Integer getActualDurationInSeconds() {
        return actualDurationInSeconds;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy