mirror of https://github.com/apache/lucene.git
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:
parent
283f16686b
commit
a7630e88c2
|
@ -168,6 +168,9 @@ New Features
|
||||||
is faster than others, however consumes much more RAM.
|
is faster than others, however consumes much more RAM.
|
||||||
(Michael McCandless, Shai Erera)
|
(Michael McCandless, Shai Erera)
|
||||||
|
|
||||||
|
* LUCENE-4778: Add a getter for the delegate in RateLimitedDirectoryWrapper.
|
||||||
|
(Mark Miller)
|
||||||
|
|
||||||
API Changes
|
API Changes
|
||||||
|
|
||||||
* LUCENE-4709: FacetResultNode no longer has a residue field. (Shai Erera)
|
* LUCENE-4709: FacetResultNode no longer has a residue field. (Shai Erera)
|
||||||
|
|
|
@ -40,6 +40,10 @@ public final class RateLimitedDirectoryWrapper extends Directory {
|
||||||
this.delegate = wrapped;
|
this.delegate = wrapped;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Directory getDelegate() {
|
||||||
|
return delegate;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String[] listAll() throws IOException {
|
public String[] listAll() throws IOException {
|
||||||
ensureOpen();
|
ensureOpen();
|
||||||
|
|
Loading…
Reference in New Issue