Lucene++ - a full-featured, c++ search engine
API Documentation
Simple container for a collection of related CacheEntry objects that in conjunction with each other represent some "insane" usage of the FieldCache. More...
#include <FieldCacheSanityChecker.h>
Public Member Functions | |
Insanity (FieldCacheSanityChecker::InsanityType type, const String &msg, Collection< FieldCacheEntryPtr > entries) | |
virtual | ~Insanity () |
virtual String | getClassName () |
boost::shared_ptr< Insanity > | shared_from_this () |
FieldCacheSanityChecker::InsanityType | getType () |
Type of insane behavior this object represents. | |
String | getMsg () |
Description of the insane behaviour. | |
Collection< FieldCacheEntryPtr > | getCacheEntries () |
CacheEntry objects which suggest a problem. | |
virtual String | 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. | |
![]() | |
virtual | ~LuceneObject () |
virtual void | initialize () |
Called directly after instantiation to create objects that depend on this object being fully constructed. | |
virtual LuceneObjectPtr | clone (const LuceneObjectPtr &other=LuceneObjectPtr()) |
Return clone of this object. | |
virtual int32_t | hashCode () |
Return hash code for this object. | |
virtual bool | equals (const LuceneObjectPtr &other) |
Return whether two objects are equal. | |
virtual int32_t | compareTo (const LuceneObjectPtr &other) |
Compare two objects. | |
![]() | |
virtual | ~LuceneSync () |
virtual SynchronizePtr | getSync () |
Return this object synchronize lock. | |
virtual LuceneSignalPtr | getSignal () |
Return this object signal. | |
virtual void | lock (int32_t timeout=0) |
Lock this object using an optional timeout. | |
virtual void | unlock () |
Unlock this object. | |
virtual bool | holdsLock () |
Returns true if this object is currently locked by current thread. | |
virtual void | wait (int32_t timeout=0) |
Wait for signal using an optional timeout. | |
virtual void | notifyAll () |
Notify all threads waiting for signal. | |
Static Public Member Functions | |
static String | _getClassName () |
Protected Attributes | |
FieldCacheSanityChecker::InsanityType | type |
String | msg |
Collection< FieldCacheEntryPtr > | entries |
![]() | |
SynchronizePtr | objectLock |
LuceneSignalPtr | objectSignal |
Additional Inherited Members | |
![]() | |
LuceneObject () | |
Simple container for a collection of related CacheEntry objects that in conjunction with each other represent some "insane" usage of the FieldCache.
Lucene::Insanity::Insanity | ( | FieldCacheSanityChecker::InsanityType | type, |
const String & | msg, | ||
Collection< FieldCacheEntryPtr > | entries | ||
) |
|
virtual |
|
inlinestatic |
Collection< FieldCacheEntryPtr > Lucene::Insanity::getCacheEntries | ( | ) |
CacheEntry objects which suggest a problem.
|
inlinevirtual |
String Lucene::Insanity::getMsg | ( | ) |
Description of the insane behaviour.
FieldCacheSanityChecker::InsanityType Lucene::Insanity::getType | ( | ) |
Type of insane behavior this object represents.
|
inline |
|
virtual |
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.
Reimplemented from Lucene::LuceneObject.
|
protected |
|
protected |
|
protected |