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:
Simon Willnauer 2013-03-16 06:57:56 +00:00
parent 87a6c98b7c
commit 77797c8c85
1 changed files with 7 additions and 1 deletions

View File

@ -133,6 +133,12 @@ public abstract class BufferedIndexOutput extends IndexOutput {
@Override
public abstract long length() throws IOException;
/**
* Returns size of the used output buffer in bytes.
* */
public final int getBufferSize() {
return bufferSize;
}
}