Package org.apache.lucene.util
Class FieldCacheSanityChecker.Insanity
java.lang.Object
org.apache.lucene.util.FieldCacheSanityChecker.Insanity
- Enclosing class:
- FieldCacheSanityChecker
Simple container for a collection of related CacheEntry objects that
in conjunction with each other represent some "insane" usage of the
FieldCache.
-
Constructor Summary
ConstructorsConstructorDescriptionInsanity
(FieldCacheSanityChecker.InsanityType type, String msg, FieldCache.CacheEntry... entries) -
Method Summary
Modifier and TypeMethodDescriptionCacheEntry objects which suggest a problemgetMsg()
Description of hte insane behaviorgetType()
Type of insane behavior this object representstoString()
Multi-Line representation of this Insanity object, starting with the Type and Msg, followed by each CacheEntry.toString() on it's own line prefaced by a tab character
-
Constructor Details
-
Insanity
public Insanity(FieldCacheSanityChecker.InsanityType type, String msg, FieldCache.CacheEntry... entries)
-
-
Method Details
-
getType
Type of insane behavior this object represents -
getMsg
Description of hte insane behavior -
getCacheEntries
CacheEntry objects which suggest a problem -
toString
Multi-Line representation of this Insanity object, starting with the Type and Msg, followed by each CacheEntry.toString() on it's own line prefaced by a tab character
-