package eu.dnetlib.r2d2;

import java.io.InputStream;
import java.io.OutputStream;

import me.prettyprint.cassandra.service.PoolExhaustedException;

public interface FileStore {
	void write(String id, InputStream input) throws IllegalStateException, PoolExhaustedException, Exception;

	void read(String id, OutputStream output) throws Exception;
}
