Java: supportFlush set to true

This commit is contained in:
Chris Lu
2021-02-04 20:18:33 -08:00
parent 7f90d14f10
commit 82c167aaca

View File

@@ -14,7 +14,7 @@ import java.util.concurrent.*;
public class SeaweedOutputStream extends OutputStream { public class SeaweedOutputStream extends OutputStream {
private static final Logger LOG = LoggerFactory.getLogger(SeaweedOutputStream.class); private static final Logger LOG = LoggerFactory.getLogger(SeaweedOutputStream.class);
protected final boolean supportFlush = false; // true; protected final boolean supportFlush = true;
private final FilerGrpcClient filerGrpcClient; private final FilerGrpcClient filerGrpcClient;
private final String path; private final String path;
private final int bufferSize; private final int bufferSize;