Class FieldCacheSanityChecker.Insanity
Simple container for a collection of related FieldCache.CacheEntry objects that in conjunction with each other represent some "insane" usage of the IFieldCache.
Inheritance
System.Object
FieldCacheSanityChecker.Insanity
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public sealed class Insanity : object
Constructors
| Improve this Doc View SourceInsanity(FieldCacheSanityChecker.InsanityType, String, FieldCache.CacheEntry[])
Declaration
public Insanity(FieldCacheSanityChecker.InsanityType type, string msg, params FieldCache.CacheEntry[] entries)
Parameters
Type | Name | Description |
---|---|---|
FieldCacheSanityChecker.InsanityType | type | |
System.String | msg | |
FieldCache.CacheEntry[] | entries |
Properties
| Improve this Doc View SourceCacheEntries
FieldCache.CacheEntry objects which suggest a problem
Declaration
public FieldCache.CacheEntry[] CacheEntries { get; }
Property Value
Type | Description |
---|---|
FieldCache.CacheEntry[] |
Msg
Description of the insane behavior
Declaration
public string Msg { get; }
Property Value
Type | Description |
---|---|
System.String |
Type
Type of insane behavior this object represents
Declaration
public FieldCacheSanityChecker.InsanityType Type { get; }
Property Value
Type | Description |
---|---|
FieldCacheSanityChecker.InsanityType |
Methods
| Improve this Doc View SourceToString()
Multi-Line representation of this FieldCacheSanityChecker.Insanity object, starting with the Type and Msg, followed by each CacheEntry.ToString() on it's own line prefaced by a tab character
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |