• API

    Show / Hide Table of Contents

    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
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class Insanity

    Constructors

    | Improve this Doc View Source

    Insanity(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 Source

    CacheEntries

    FieldCache.CacheEntry objects which suggest a problem

    Declaration
    public FieldCache.CacheEntry[] CacheEntries { get; }
    Property Value
    Type Description
    FieldCache.CacheEntry[]
    | Improve this Doc View Source

    Msg

    Description of the insane behavior

    Declaration
    public string Msg { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    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 Source

    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
    System.String
    Overrides
    System.Object.ToString()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)