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

io.alphatier.java.CommitAction Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 0.2.0
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy