Package org.apache.lucene.tests.util
Class FailOnNonBulkMergesInfoStream
- java.lang.Object
-
- org.apache.lucene.util.InfoStream
-
- org.apache.lucene.tests.util.FailOnNonBulkMergesInfoStream
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class FailOnNonBulkMergesInfoStream extends InfoStream
Hackidy-Häck-Hack to cause a test to fail on non-bulk merges
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.util.InfoStream
NO_OUTPUT
-
-
Constructor Summary
Constructors Constructor Description FailOnNonBulkMergesInfoStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanisEnabled(String component)voidmessage(String component, String message)-
Methods inherited from class org.apache.lucene.util.InfoStream
getDefault, setDefault
-
-
-
-
Method Detail
-
close
public void close() throws IOException- Throws:
IOException
-
isEnabled
public boolean isEnabled(String component)
- Specified by:
isEnabledin classInfoStream
-
message
public void message(String component, String message)
- Specified by:
messagein classInfoStream
-
-