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

com.coreoz.plume.scheduler.PlumeTimeProvider Maven / Gradle / Ivy

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