public class IndexingEvent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ABORT_INDEXING
Indicates the watcher should abort indexing immediately.
|
static int |
BEGIN_INDEXING_ALL_COLLECTIONS
Indicates the watcher should begin indexing all collections.
|
static int |
BEGIN_INDEXING_COLLECTION
Indicates the watcher should update a given collection.
|
static int |
CONFIGURE_AND_INITIALIZE
Indicates the watcher should update its configuration to get any changes and (re)initialize.
|
static int |
INDEXER_READY
Indicates the index is ready to recieve indexing actions.
|
static int |
UPDATE_COLLECTIONS
Indicates the watcher should update it's list of collections.
|
Modifier | Constructor and Description |
---|---|
|
IndexingEvent(int type)
Constructor for the IndexingEvent object
|
protected |
IndexingEvent(int type,
java.lang.String collectionKey,
CollectionIndexer collectionIndexer)
Constructor for the IndexingEvent object
|
Modifier and Type | Method and Description |
---|---|
CollectionIndexer |
getCollectionIndexer()
Gets the collectionIndexer attribute of the IndexingEvent object
|
java.lang.String |
getCollectionKey()
Gets the collectionKey attribute of the IndexingEvent object
|
int |
getType()
Gets the event type.
|
java.lang.String |
toString()
A String representation of this event.
|
public static final int INDEXER_READY
public static final int UPDATE_COLLECTIONS
public static final int BEGIN_INDEXING_ALL_COLLECTIONS
public static final int ABORT_INDEXING
public static final int BEGIN_INDEXING_COLLECTION
public static final int CONFIGURE_AND_INITIALIZE
protected IndexingEvent(int type, java.lang.String collectionKey, CollectionIndexer collectionIndexer)
type
- The event typecollectionKey
- The collectionKeycollectionIndexer
- The CollectionIndexer instancepublic IndexingEvent(int type)
type
- The event typepublic int getType()
public java.lang.String getCollectionKey()
public CollectionIndexer getCollectionIndexer()
public java.lang.String toString()
toString
in class java.lang.Object