io.alphatier.java.CommitAction 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;
public abstract class CommitAction {
private final String taskId;
private final Number metadataVersion;
private final Number executorMetadataVersion;
private final Number executorTaskIdsVersion;
protected CommitAction(final String taskId, final Number metadataVersion, final Number executorMetadataVersion,
final Number executorTaskIdsVersion) {
this.taskId = taskId;
this.metadataVersion = metadataVersion;
this.executorMetadataVersion = executorMetadataVersion;
this.executorTaskIdsVersion = executorTaskIdsVersion;
}
public String getTaskId() {
return taskId;
}
public Number getMetadataVersion() {
return metadataVersion;
}
public Number getExecutorMetadataVersion() {
return executorMetadataVersion;
}
public Number getExecutorTaskIdsVersion() {
return executorTaskIdsVersion;
}
}