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

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

package io.digdag.spi;

import java.util.List;
import java.time.Instant;
import java.time.ZoneId;
import com.google.common.base.Optional;

public interface LogServer
{
    String putFile(LogFilePrefix prefix, String taskName, Instant firstLogTime, String agentId, byte[] gzData);

    Optional getDirectUploadHandle(LogFilePrefix prefix, String taskName, Instant firstLogTime, String agentId);

    List getFileHandles(LogFilePrefix prefix, Optional taskName);

    byte[] getFile(LogFilePrefix prefix, String fileName)
        throws StorageFileNotFoundException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy