Package org.apache.lucene.internal.tests
Class TestSecrets
java.lang.Object
org.apache.lucene.internal.tests.TestSecrets
A set of static methods returning accessors for internal, package-private functionality in
Lucene. All getters may only be called by the Lucene Test Framework module. Setters are
initialized once on startup.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the accessor to internal secrets for anConcurrentMergeScheduler.static FilterIndexInputAccessReturn the accessor to internal secrets for anFilterIndexInput.static IndexPackageAccessReturn the accessor to internal secrets for anIndexReader.static IndexWriterAccessReturn the accessor to internal secrets for anIndexWriter.static SegmentReaderAccessReturn the accessor to internal secrets for anSegmentReader.static voidFor internal initialization only.static voidsetFilterInputIndexAccess(FilterIndexInputAccess filterIndexInputAccess) For internal initialization only.static voidsetIndexPackageAccess(IndexPackageAccess indexPackageAccess) For internal initialization only.static voidsetIndexWriterAccess(IndexWriterAccess indexWriterAccess) For internal initialization only.static voidsetSegmentReaderAccess(SegmentReaderAccess segmentReaderAccess) For internal initialization only.
-
Method Details
-
getIndexPackageAccess
Return the accessor to internal secrets for anIndexReader. -
getConcurrentMergeSchedulerAccess
Return the accessor to internal secrets for anConcurrentMergeScheduler. -
getSegmentReaderAccess
Return the accessor to internal secrets for anSegmentReader. -
getIndexWriterAccess
Return the accessor to internal secrets for anIndexWriter. -
getFilterInputIndexAccess
Return the accessor to internal secrets for anFilterIndexInput. -
setIndexWriterAccess
For internal initialization only. -
setIndexPackageAccess
For internal initialization only. -
setConcurrentMergeSchedulerAccess
For internal initialization only. -
setSegmentReaderAccess
For internal initialization only. -
setFilterInputIndexAccess
For internal initialization only.
-