public interface IndexManager extends IndexManager
IndexManager.IndexStatus| Modifier and Type | Method and Description |
|---|---|
List<ManagedIndex> |
getIndexes(String providerName,
String workspaceName,
IndexManager.IndexStatus status)
Returns a list of
ManagedIndex instances for a given provider and workspace, which have a certain status. |
IndexProvider |
getProvider(String name)
Get the query index provider registered with the given name.
|
void |
register(IndexProvider provider)
Register a new already-instantiated
IndexProvider. |
void |
unregister(String providerName)
Unregister the
IndexProvider with the supplied name. |
createIndexColumnDefinitionTemplate, createIndexDefinitionTemplate, getIndexDefinitions, getIndexNames, getIndexStatus, getProviderNames, registerIndex, registerIndexes, unregisterIndexesIndexProvider getProvider(String name)
name - the name of the query index provider; may not be nullvoid register(IndexProvider provider) throws IndexProviderExistsException, javax.jcr.RepositoryException
IndexProvider.provider - the new provider instance; may not be nullIndexProviderExistsException - if there is already an existing index provider with the same namejavax.jcr.RepositoryException - if there is a problem registering the providervoid unregister(String providerName) throws NoSuchProviderException, javax.jcr.RepositoryException
IndexProvider with the supplied name.providerName - the name of the query index provider; may not be nullNoSuchProviderException - there is no index provider with the supplied namejavax.jcr.RepositoryException - if there is a problem unregistering the providerList<ManagedIndex> getIndexes(String providerName, String workspaceName, IndexManager.IndexStatus status)
ManagedIndex instances for a given provider and workspace, which have a certain status.providerName - a String the name of an index provider, may not be nullworkspaceName - a String the name of a workspace, may not be nullstatus - a IndexManager.IndexStatus instance, may not be nullManagedIndex instances, never nullCopyright © 2008-2015 JBoss, a division of Red Hat. All Rights Reserved.