Package org.apache.lucene.util
Class FieldCacheSanityChecker.Insanity
- java.lang.Object
-
- org.apache.lucene.util.FieldCacheSanityChecker.Insanity
-
- Enclosing class:
- FieldCacheSanityChecker
public static final class FieldCacheSanityChecker.Insanity extends Object
Simple container for a collection of related CacheEntry objects that in conjunction with each other represent some "insane" usage of the FieldCache.
-
-
Constructor Summary
Constructors Constructor Description Insanity(FieldCacheSanityChecker.InsanityType type, String msg, FieldCache.CacheEntry... entries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldCache.CacheEntry[]
getCacheEntries()
CacheEntry objects which suggest a problemString
getMsg()
Description of hte insane behaviorFieldCacheSanityChecker.InsanityType
getType()
Type of insane behavior this object representsString
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
-
-
-
Constructor Detail
-
Insanity
public Insanity(FieldCacheSanityChecker.InsanityType type, String msg, FieldCache.CacheEntry... entries)
-
-
Method Detail
-
getType
public FieldCacheSanityChecker.InsanityType getType()
Type of insane behavior this object represents
-
getMsg
public String getMsg()
Description of hte insane behavior
-
getCacheEntries
public FieldCache.CacheEntry[] getCacheEntries()
CacheEntry objects which suggest a problem
-
-