
io.leopard.data.dfs.service.DfsDao Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leopard-dfs Show documentation
Show all versions of leopard-dfs Show documentation
分布式文件系统实现,目前只是做了基于GridFS的实现,可以在本机文件系统进行缓存。
package io.leopard.data.dfs.service;
import java.io.IOException;
public interface DfsDao {
void write(String filename, byte[] data, long uid) throws IOException;
byte[] read(String filename) throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy