org.jobrunr.server.dashboard.PollIntervalInSecondsTimeBoxIsTooSmallNotification Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jobrunr Show documentation
Show all versions of jobrunr Show documentation
An easy way to perform background processing on the JVM. Backed by persistent storage. Open and free for commercial use.
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