io.alphatier.java.Snapshot Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alphatier-java Show documentation
Show all versions of alphatier-java Show documentation
Alphatier is a resource management library. It is designed to allow different schedulers to share the
resources of a pool of executors in order to execute tasks with those.
package io.alphatier.java;
import java.util.Map;
public final class Snapshot {
private final Map executors;
private final Map tasks;
public Snapshot(final Map executors, final Map tasks) {
this.executors = executors;
this.tasks = tasks;
}
public Map getExecutors() {
return executors;
}
public Map getTasks() {
return tasks;
}
@Override
public String toString() {
return "Snapshot{" +
"executors=" + executors +
", tasks=" + tasks +
'}';
}
}