public abstract class IndexingOperationListener extends Object
Constructor and Description |
---|
IndexingOperationListener() |
Modifier and Type | Method and Description |
---|---|
void |
postCreate(Engine.Create create)
Called after create index operation occurred.
|
void |
postCreate(Engine.Create create,
Throwable ex)
Called after create index operation occurred with exception.
|
void |
postCreateUnderLock(Engine.Create create)
Called after the indexing occurs, under a locking scheme to maintain
concurrent updates to the same doc.
|
void |
postDelete(Engine.Delete delete)
Called after the delete operation occurred.
|
void |
postDelete(Engine.Delete delete,
Throwable ex)
Called after the delete operation occurred with exception.
|
void |
postDeleteUnderLock(Engine.Delete delete)
Called after the delete occurs, under a locking scheme to maintain
concurrent updates to the same doc.
|
void |
postIndex(Engine.Index index,
boolean created)
Called after the indexing operation occurred.
|
void |
postIndex(Engine.Index index,
Throwable ex)
Called after the indexing operation occurred with exception.
|
void |
postIndexUnderLock(Engine.Index index)
Called after the indexing occurs, under a locking scheme to maintain
concurrent updates to the same doc.
|
Engine.Create |
preCreate(Engine.Create create)
Called before the indexing occurs.
|
Engine.Delete |
preDelete(Engine.Delete delete)
Called before the delete occurs.
|
Engine.Index |
preIndex(Engine.Index index)
Called before the indexing occurs.
|
public Engine.Create preCreate(Engine.Create create)
public void postCreateUnderLock(Engine.Create create)
Note, long operations should not occur under this callback.
public void postCreate(Engine.Create create)
public void postCreate(Engine.Create create, Throwable ex)
public Engine.Index preIndex(Engine.Index index)
public void postIndexUnderLock(Engine.Index index)
Note, long operations should not occur under this callback.
public void postIndex(Engine.Index index, boolean created)
public void postIndex(Engine.Index index, Throwable ex)
public Engine.Delete preDelete(Engine.Delete delete)
public void postDeleteUnderLock(Engine.Delete delete)
Note, long operations should not occur under this callback.
public void postDelete(Engine.Delete delete)
public void postDelete(Engine.Delete delete, Throwable ex)
Copyright © 2009–2017. All rights reserved.