mirror of https://github.com/apache/lucene.git
LUCENE-4837: Expose buffer size in BufferedIndexOutput
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457211 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
87a6c98b7c
commit
77797c8c85
|
@ -134,5 +134,11 @@ public abstract class BufferedIndexOutput extends IndexOutput {
|
||||||
@Override
|
@Override
|
||||||
public abstract long length() throws IOException;
|
public abstract long length() throws IOException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns size of the used output buffer in bytes.
|
||||||
|
* */
|
||||||
|
public final int getBufferSize() {
|
||||||
|
return bufferSize;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue