package com.l7tech.server.log;

import com.l7tech.gateway.common.log.LogFileInfo;
import com.l7tech.gateway.common.log.LogSinkData;
import com.l7tech.gateway.common.log.LogSinkQuery;
import com.l7tech.gateway.common.log.SinkConfiguration;
import com.l7tech.objectmodel.EntityHeader;
import com.l7tech.objectmodel.EntityManager;
import com.l7tech.objectmodel.FindException;
import com.l7tech.objectmodel.Goid;
import com.l7tech.objectmodel.RoleAwareEntityManager;
import java.util.Collection;

public interface SinkManager extends EntityManager<SinkConfiguration, EntityHeader>, RoleAwareEntityManager<SinkConfiguration> {
   long getMaximumFileStorageSpace();

   long getReservedFileStorageSpace();

   boolean test(SinkConfiguration var1, String var2);

   MessageSink getPublishingSink();

   Collection<LogFileInfo> findAllFilesForSinkByNode(String var1, Goid var2) throws FindException;

   LogSinkData getSinkLogs(String var1, Goid var2, String var3, LogSinkQuery var4) throws FindException;
}
