org.alfresco.repo.search.impl.lucene.index
Class IndexEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.alfresco.repo.search.impl.lucene.index.IndexEvent
- All Implemented Interfaces:
- java.io.Serializable
public class IndexEvent
- extends org.springframework.context.ApplicationEvent
A class of event that notifies the listener of a significant event relating to a Lucene index. Useful for Monitoring
purposes.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IndexEvent
public IndexEvent(IndexMonitor source,
java.lang.String description,
int count)
- The Constructor.
- Parameters:
source
- the source index monitordescription
- the event descriptioncount
- its instance count
getIndexMonitor
public IndexMonitor getIndexMonitor()
- Gets the source index monitor.
- Returns:
- the index monitor
getDescription
public java.lang.String getDescription()
- Gets the event description.
- Returns:
- the description
getCount
public int getCount()
- Gets the event instance count.
- Returns:
- the count
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.