Метод | Описание | |
---|---|---|
Check ( ) : Insanity[] |
Tests a CacheEntry[] for indication of "insane" cache usage. NOTE:FieldCache CreationPlaceholder objects are ignored. (:TODO: is this a bad idea? are we masking a real problem?)
|
|
CheckSanity ( ) : Insanity[] |
Quick and dirty convenience method that instantiates an instance with "good defaults" and uses it to test the CacheEntrys
|
|
CheckSanity ( IFieldCache cache ) : Insanity[] |
Quick and dirty convenience method
|
|
FieldCacheSanityChecker ( ) : System.Collections.Generic |
Метод | Описание | |
---|---|---|
CheckSubreaders ( FieldCache.CacheEntry>.MapOfSets |
Internal helper method used by check that iterates over the keys of readerFieldToValIds and generates a Collection of Insanity instances whenever two (or more) ReaderField instances are found that have an ancestry relationships.
|
|
CheckValueMismatch ( FieldCache.CacheEntry>.MapOfSets |
Internal helper method used by check that iterates over valMismatchKeys and generates a Collection of Insanity instances accordingly. The MapOfSets are used to populate the Insanity objects.
|
|
GetAllDescendantReaderKeys ( object seed ) : IList |
Checks if the seed is an IndexReader, and if so will walk the hierarchy of subReaders building up a list of the objects returned by {@code seed.getCoreCacheKey()}
|
public static CheckSanity ( ) : Insanity[] | ||
Результат | Insanity[] |
public static CheckSanity ( IFieldCache cache ) : Insanity[] | ||
cache | IFieldCache | |
Результат | Insanity[] |
public FieldCacheSanityChecker ( ) : System.Collections.Generic | ||
Результат | System.Collections.Generic |