LUCENE-4778: Add a getter for the delegate in RateLimitedDirectoryWrapper.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446729 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2013-02-15 19:14:12 +00:00
parent 283f16686b
commit a7630e88c2
2 changed files with 7 additions and 0 deletions

View File

@ -168,6 +168,9 @@ New Features
is faster than others, however consumes much more RAM.
(Michael McCandless, Shai Erera)
* LUCENE-4778: Add a getter for the delegate in RateLimitedDirectoryWrapper.
(Mark Miller)
API Changes
* LUCENE-4709: FacetResultNode no longer has a residue field. (Shai Erera)

View File

@ -40,6 +40,10 @@ public final class RateLimitedDirectoryWrapper extends Directory {
this.delegate = wrapped;
}
public Directory getDelegate() {
return delegate;
}
@Override
public String[] listAll() throws IOException {
ensureOpen();