com.esri.gpt.catalog.lucene
Class LuceneIndexObserverArray
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<LuceneIndexObserver>
com.esri.gpt.catalog.lucene.LuceneIndexObserverArray
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<LuceneIndexObserver>, Collection<LuceneIndexObserver>, List<LuceneIndexObserver>, RandomAccess
public class LuceneIndexObserverArray
- extends ArrayList<LuceneIndexObserver>
Array of Lucene index observers
- See Also:
- Serialized Form
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
LuceneIndexObserverArray
public LuceneIndexObserverArray()
onDocumentUpdate
public void onDocumentUpdate(Document document,
String uuid)
throws Exception
- Called BEFORE index document is being updated.
- Parameters:
document
- Lucene documentuuid
- document UUID
- Throws:
Exception
- if processing notification fails
onDocumentUpdated
public void onDocumentUpdated(Document document,
String uuid)
throws Exception
- Called AFTER index document has been updated.
- Parameters:
document
- Lucene documentuuid
- document UUID
- Throws:
Exception
- if processing notification fails
onDocumentDelete
public void onDocumentDelete(String[] uuids)
throws Exception
- Called BEFORE index document is being deleted.
- Parameters:
uuids
- UUIDs of documents to delete
- Throws:
Exception
- if processing notification fails
onDocumentDeleted
public void onDocumentDeleted(String[] uuids)
throws Exception
- Called AFTER index document has been deleted.
- Parameters:
uuids
- UUIDs of documents to delete
- Throws:
Exception
- if processing notification fails
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.