mirror of https://github.com/apache/druid.git
optimize FileWriteOutBytes to avoid high sys cpu -- remove IOException in writeOutBytes.size
This commit is contained in:
parent
149e08c091
commit
965f742148
|
@ -45,7 +45,7 @@ public abstract class WriteOutBytes extends OutputStream implements WritableByte
|
|||
/**
|
||||
* Returns the number of bytes written to this WriteOutBytes so far.
|
||||
*/
|
||||
public abstract long size() throws IOException;
|
||||
public abstract long size();
|
||||
|
||||
/**
|
||||
* Takes all bytes that are written to this WriteOutBytes so far and writes them into the given channel.
|
||||
|
|
Loading…
Reference in New Issue