public interface IndexMonitor
| Modifier and Type | Method and Description |
|---|---|
void |
addApplicationListener(org.springframework.context.ApplicationListener listener)
Registers a listener for events on this index.
|
long |
getActualSize()
Gets the actual size of the index in bytes.
|
int |
getNumberOfDocuments()
Gets the number of documents in the index.
|
int |
getNumberOfFields()
Gets the number of fields known to the index.
|
int |
getNumberOfIndexedFields()
Gets the number of indexed fields.
|
java.lang.String |
getRelativePath()
Gets the relative path of the index directory.
|
java.util.Map |
getStatusSnapshot()
Gets a snapshot of the statuses of the individual entries in this index.
|
long |
getUsedSize()
Gets the size used on disk by the index directory.
|
java.lang.String getRelativePath()
java.util.Map getStatusSnapshot()
long getActualSize()
throws java.io.IOException
java.io.IOException - Signals that an I/O exception has occurred.long getUsedSize()
throws java.io.IOException
IndexMonitor.getActualSize() may indicate that there are unused data files.java.io.IOException - Signals that an I/O exception has occurred.int getNumberOfDocuments()
throws java.io.IOException
java.io.IOException - Signals that an I/O exception has occurred.int getNumberOfFields()
throws java.io.IOException
java.io.IOException - Signals that an I/O exception has occurred.int getNumberOfIndexedFields()
throws java.io.IOException
java.io.IOException - Signals that an I/O exception has occurred.void addApplicationListener(org.springframework.context.ApplicationListener listener)
listener - the listenerCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.