
com.coreoz.plume.scheduler.PlumeTimeProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plume-scheduler Show documentation
Show all versions of plume-scheduler Show documentation
A task scheduler managed by Wisp Scheduler.
The newest version!
package com.coreoz.plume.scheduler;
import com.coreoz.wisp.time.TimeProvider;
import java.time.Clock;
class PlumeTimeProvider implements TimeProvider {
private final Clock clock;
public PlumeTimeProvider(Clock clock) {
this.clock = clock;
}
@Override
public long currentTime() {
return clock.millis();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy