com.wavefront.agent.queueing.QueueFileFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proxy-test Show documentation
Show all versions of proxy-test Show documentation
Service for batching and relaying metric traffic to Wavefront
package com.wavefront.agent.queueing;
import java.io.IOException;
/**
* Factory for {@link QueueFile} instances.
*
* @author [email protected]
*/
public interface QueueFileFactory {
/**
* Creates, or accesses an existing file, with the specified name.
*
* @param fileName file name to use
* @return queue file instance
* @throws IOException if file could not be created or accessed
*/
QueueFile get(String fileName) throws IOException;
}