Package | Description |
---|---|
org.modeshape.jcr.index.local | |
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 |
---|---|
protected ManagedIndex |
LocalIndexProvider.createIndex(IndexDefinition defn,
String workspaceName,
NodeTypes.Supplier nodeTypesSupplier,
IndexFeedback feedback) |
protected ManagedIndex |
LocalIndexProvider.updateIndex(IndexDefinition oldDefn,
IndexDefinition updatedDefn,
ManagedIndex existingIndex,
String workspaceName,
NodeTypes.Supplier nodeTypesSupplier,
IndexFeedback feedback) |
Modifier and Type | Method and Description |
---|---|
protected abstract ManagedIndex |
IndexProvider.createIndex(IndexDefinition defn,
String workspaceName,
NodeTypes.Supplier nodeTypesSupplier,
IndexFeedback feedback)
Method called when this provider needs to create a new index given the unique pair of workspace name and index definition.
|
void |
IndexProvider.notify(IndexDefinitionChanges changes,
Observable observable,
NodeTypes.Supplier nodeTypesSupplier,
Set<String> workspaceNames,
IndexFeedback feedback)
Signal that some of the definitions of indexes owned by this provider were changed.
|
void |
IndexProvider.notify(WorkspaceChanges changes,
Observable observable,
NodeTypes.Supplier nodeTypesSupplier,
Set<String> workspaceNames,
IndexFeedback feedback)
Signal that some workspaces were added or removed.
|
protected abstract ManagedIndex |
IndexProvider.updateIndex(IndexDefinition oldDefn,
IndexDefinition updatedDefn,
ManagedIndex existingIndex,
String workspaceName,
NodeTypes.Supplier nodeTypesSupplier,
IndexFeedback feedback)
Method called when this provider needs to update an existing index given the unique pair of workspace name and index
definition.
|
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.