
delight.concurrency.schedule.timeout.TimeoutEntry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of delight-concurrency Show documentation
Show all versions of delight-concurrency Show documentation
An abstract and lightweight definition of concurrency fundamentals.
The newest version!
package delight.concurrency.schedule.timeout;
import delight.functional.Function;
public final class TimeoutEntry {
public final int timeout;
public final Function isCompleted;
public final Runnable onTimeout;
public final long startTime;
public TimeoutEntry(final int timeout, final Function isCompleted, final Runnable onTimeout) {
super();
this.timeout = timeout;
this.isCompleted = isCompleted;
this.onTimeout = onTimeout;
this.startTime = System.currentTimeMillis();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy