Package | Description |
---|---|
org.modeshape.jcr.api.index | |
org.modeshape.jcr.spi.index |
This package contains the interfaces for managing index providers and index definitions.
|
org.modeshape.jcr.spi.index.provider |
This package contains the Service Provider Interface (SPI) for custom index providers, which are components that encapsulate
how ModeShape updates and uses a set of particular indexes.
|
Modifier and Type | Method and Description |
---|---|
IndexManager.IndexStatus |
IndexManager.getIndexStatus(String providerName,
String indexName,
String workspaceName)
Returns the status of the index with the given name for the given provider and workspace.
|
static IndexManager.IndexStatus |
IndexManager.IndexStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexManager.IndexStatus[] |
IndexManager.IndexStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
IndexManager.getIndexNames(String providerName,
String workspaceName,
IndexManager.IndexStatus status)
Returns a list with the names of all the indexes that have a certain status, for a provider and workspace.
|
Modifier and Type | Method and Description |
---|---|
List<ManagedIndex> |
IndexManager.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. |
Modifier and Type | Method and Description |
---|---|
IndexManager.IndexStatus |
ManagedIndex.getStatus()
Return the current status of the managed index
|
IndexManager.IndexStatus |
DefaultManagedIndex.getStatus() |
Modifier and Type | Method and Description |
---|---|
void |
ManagedIndex.updateStatus(IndexManager.IndexStatus currentStatus,
IndexManager.IndexStatus newStatus)
Update the status of this index to a new value if the current status is
currentStatus |
void |
DefaultManagedIndex.updateStatus(IndexManager.IndexStatus currentStatus,
IndexManager.IndexStatus newStatus) |
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.