SOLR-14537: Fix inner class visibility, reduce diffs with branch_8x.

This commit is contained in:
Andrzej Bialecki 2020-07-07 16:45:33 +02:00
parent 5154b6008f
commit f19057f5e5
2 changed files with 6 additions and 3 deletions

View File

@ -240,7 +240,10 @@ class ExportBuffers {
} }
} }
public static final class Buffer { /**
* Buffer used for transporting documents from the filler to the writer thread.
*/
static final class Buffer {
static final int EMPTY = -1; static final int EMPTY = -1;
static final int NO_MORE_DOCS = -2; static final int NO_MORE_DOCS = -2;

View File

@ -302,7 +302,7 @@ public class ExportWriter implements SolrCore.RawWriter, Closeable {
return tupleStream; return tupleStream;
} }
protected void identifyLowestSortingUnexportedDocs(List<LeafReaderContext> leaves, SortDoc sortDoc, SortQueue queue) throws IOException { private void identifyLowestSortingUnexportedDocs(List<LeafReaderContext> leaves, SortDoc sortDoc, SortQueue queue) throws IOException {
Timer.Context timerContext = identifyLowestSortingDocTimer.time(); Timer.Context timerContext = identifyLowestSortingDocTimer.time();
try { try {
queue.reset(); queue.reset();
@ -324,7 +324,7 @@ public class ExportWriter implements SolrCore.RawWriter, Closeable {
} }
} }
protected void transferBatchToBufferForOutput(SortQueue queue, private void transferBatchToBufferForOutput(SortQueue queue,
List<LeafReaderContext> leaves, List<LeafReaderContext> leaves,
ExportBuffers.Buffer destination) throws IOException { ExportBuffers.Buffer destination) throws IOException {
Timer.Context timerContext = transferBatchToBufferTimer.time(); Timer.Context timerContext = transferBatchToBufferTimer.time();