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 IndexPackageAccess
Return the accessor to internal secrets for anIndexReader
.static IndexWriterAccess
Return the accessor to internal secrets for anIndexWriter
.static SegmentReaderAccess
Return the accessor to internal secrets for anSegmentReader
.static void
For internal initialization only.static void
setIndexPackageAccess
(IndexPackageAccess indexPackageAccess) For internal initialization only.static void
setIndexWriterAccess
(IndexWriterAccess indexWriterAccess) For internal initialization only.static void
setSegmentReaderAccess
(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
. -
setIndexWriterAccess
For internal initialization only. -
setIndexPackageAccess
For internal initialization only. -
setConcurrentMergeSchedulerAccess
For internal initialization only. -
setSegmentReaderAccess
For internal initialization only.
-