ncsa.tools.trebuchet.core
Interface IOperationListener

All Known Subinterfaces:
IUpdateOperationListener
All Known Implementing Classes:
BlockingMonitor, FileMonitor, LoggingOperationListener, ProgressListener

public interface IOperationListener

Used by both the operation and its cache to notify changes in status. A "cache update" means an entry has been added to the cache.

Author:
arossi

Method Summary
 void cacheUpdated(java.lang.String operationId, long lastEntryId)
           
 void operationFinished(java.lang.String operationId)
           
 void operationStarted(java.lang.String operationId)
           
 void scanningDirectory(java.lang.String operationId, long id)
           
 

Method Detail

operationStarted

public void operationStarted(java.lang.String operationId)

operationFinished

public void operationFinished(java.lang.String operationId)

cacheUpdated

public void cacheUpdated(java.lang.String operationId,
                         long lastEntryId)

scanningDirectory

public void scanningDirectory(java.lang.String operationId,
                              long id)