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.
package com.coreoz.plume.scheduler;
import com.coreoz.wisp.time.TimeProvider;
class PlumeTimeProvider implements TimeProvider {
private final com.coreoz.plume.services.time.TimeProvider plumeTimeProvider;
public PlumeTimeProvider(com.coreoz.plume.services.time.TimeProvider plumeTimeProvider) {
this.plumeTimeProvider = plumeTimeProvider;
}
@Override
public long currentTime() {
return plumeTimeProvider.currentTime();
}
}