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

io.digdag.spi.TaskQueueClient Maven / Gradle / Ivy

package io.digdag.spi;

import java.util.List;

public interface TaskQueueClient
{
    List lockSharedAgentTasks(int count, String agentId, int lockSeconds, long maxSleepMillis);

    // TODO multi-queue is not implemented yet.
    //   List lockAgentBoundTasks(int queueId)

    default void interruptLocalWait()
    { }

    List taskHeartbeat(int siteId, List lockedIds, String agentId, int lockSeconds);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy