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

io.alphatier.java.CommitUpdateAction 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;

import java.util.Map;

public final class CommitUpdateAction extends CommitAction {
    private final Map metadata;

    public CommitUpdateAction(final String taskId, final Number taskMetadataVersion, final Number executorMetadataVersion,
                              final Number executorTaskIdsVersion, final Map metadata) {
        super(taskId, taskMetadataVersion, executorMetadataVersion, executorTaskIdsVersion);
        this.metadata = metadata;
    }

    public Map getMetadata() {
        return metadata;
    }

    @Override
    public String toString() {
        return "CommitUpdateAction{" +
                "taskId='" + getTaskId() + '\'' +
                ", metadata=" + metadata +
                ", metadataVersion=" + getMetadataVersion() +
                ", executorMetadataVersion=" + getExecutorMetadataVersion() +
                ", executorTaskIdsVersion=" + getExecutorTaskIdsVersion() +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy