org.alfresco.repo.search.impl.lucene.index
Class IndexEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.springframework.context.ApplicationEvent
          extended by 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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
IndexEvent(IndexMonitor source, java.lang.String description, int count)
          The Constructor.
 
Method Summary
 int getCount()
          Gets the event instance count.
 java.lang.String getDescription()
          Gets the event description.
 IndexMonitor getIndexMonitor()
          Gets the source index monitor.
 
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
 

Constructor Detail

IndexEvent

public IndexEvent(IndexMonitor source,
                  java.lang.String description,
                  int count)
The Constructor.

Parameters:
source - the source index monitor
description - the event description
count - its instance count
Method Detail

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.