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.
Inherited Members
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public sealed class FieldCacheSanityChecker.Insanity
Constructors
Insanity(InsanityType, string, params CacheEntry[])
Simple container for a collection of related FieldCache.CacheEntry objects that in conjunction with each other represent some "insane" usage of the IFieldCache.
Declaration
public Insanity(FieldCacheSanityChecker.InsanityType type, string msg, params FieldCache.CacheEntry[] entries)
Parameters
| Type | Name | Description |
|---|---|---|
| FieldCacheSanityChecker.InsanityType | type | |
| string | msg | |
| CacheEntry[] | entries |
Properties
CacheEntries
FieldCache.CacheEntry objects which suggest a problem
Declaration
public FieldCache.CacheEntry[] CacheEntries { get; }
Property Value
| Type | Description |
|---|---|
| CacheEntry[] |
Msg
Description of the insane behavior
Declaration
public string Msg { get; }
Property Value
| Type | Description |
|---|---|
| string |
Type
Type of insane behavior this object represents
Declaration
public FieldCacheSanityChecker.InsanityType Type { get; }
Property Value
| Type | Description |
|---|---|
| FieldCacheSanityChecker.InsanityType |
Methods
ToString()
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 |
|---|---|
| string |