| Modifier and Type | Method and Description |
|---|---|
static BackendQueueProcessor |
BackendFactory.createBackend(IndexManager indexManager,
WorkerBuildContext buildContext,
Properties properties) |
static BackendQueueProcessor |
BackendFactory.createBackend(String backendName,
IndexManager indexManager,
WorkerBuildContext buildContext,
Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
static Backend |
InternalBackendFactory.createBackend(String backendName,
String indexName,
Properties properties,
WorkerBuildContext buildContext) |
BackendQueueProcessor |
ReflectionBasedBackend.createQueueProcessor(IndexManager indexManager,
WorkerBuildContext context) |
BackendQueueProcessor |
LocalBackend.createQueueProcessor(IndexManager indexManager,
WorkerBuildContext context) |
static Worker |
WorkerFactory.createWorker(SearchConfiguration searchConfiguration,
WorkerBuildContext buildContext,
QueueingProcessor queueingProcessor) |
void |
ReflectionBasedBackend.initialize(Properties properties,
WorkerBuildContext context) |
void |
LocalBackendQueueProcessor.initialize(Properties props,
WorkerBuildContext context,
IndexManager indexManager)
Deprecated.
Provided so that passing the LocalBackendQueueProcessor class
as the value of the "backend" configuration option still works, but normally
the "local" string should be used instead, in which case this method is not used.
|
void |
PerTransactionWorker.initialize(Properties props,
WorkerBuildContext context,
QueueingProcessor queueingProcessor) |
| Modifier and Type | Method and Description |
|---|---|
BackendQueueProcessor |
BlackHoleBackend.createQueueProcessor(IndexManager indexManager,
WorkerBuildContext context) |
void |
BlackHoleBackendQueueProcessor.initialize(Properties props,
WorkerBuildContext context,
IndexManager indexManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
WorkspaceHolder.initialize(Properties props,
WorkerBuildContext context,
IndexManager indexManager) |
| Constructor and Description |
|---|
AbstractWorkspaceImpl(DirectoryBasedIndexManager indexManager,
WorkerBuildContext context,
Properties cfg) |
ExclusiveIndexWorkspaceImpl(DirectoryBasedIndexManager indexManager,
WorkerBuildContext context,
Properties cfg) |
NRTWorkspaceImpl(DirectoryBasedIndexManager indexManager,
WorkerBuildContext buildContext,
Properties cfg) |
SharedIndexWorkspaceImpl(DirectoryBasedIndexManager indexManager,
WorkerBuildContext context,
Properties cfg) |
| Modifier and Type | Method and Description |
|---|---|
BackendQueueProcessor |
Backend.createQueueProcessor(IndexManager indexManager,
WorkerBuildContext context)
Called exactly once for each index manager using this backend.
|
default void |
Backend.initialize(Properties properties,
WorkerBuildContext context)
Used at startup, called once as first method.
|
default void |
BackendQueueProcessor.initialize(Properties props,
WorkerBuildContext context,
IndexManager indexManager)
Deprecated.
Use a
Backend implementation and implement your initialization logic
in Backend.createQueueProcessor(IndexManager, WorkerBuildContext) instead. |
void |
Worker.initialize(Properties props,
WorkerBuildContext context,
QueueingProcessor queueingProcessor) |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableSearchFactory
This implementation is never directly exposed to the user, it is always wrapped into a
MutableSearchFactory |
class |
MutableSearchFactory
Factory delegating to a concrete implementation of another factory.
|
| Modifier and Type | Method and Description |
|---|---|
MutableEntityIndexBinding |
IndexManagerHolder.buildEntityIndexBinding(org.hibernate.annotations.common.reflection.XClass entity,
Class<?> mappedClass,
SearchConfiguration cfg,
WorkerBuildContext buildContext) |
static DirectoryBasedReaderProvider |
PropertiesParseHelper.createDirectoryBasedReaderProvider(DirectoryBasedIndexManager indexManager,
Properties properties,
WorkerBuildContext buildContext) |
protected DirectoryBasedReaderProvider |
NRTIndexManager.createIndexReader(String indexName,
Properties cfg,
WorkerBuildContext buildContext) |
protected WorkspaceHolder |
NRTIndexManager.createWorkspaceHolder(String indexName,
Properties cfg,
WorkerBuildContext buildContext) |
IndexManagerType |
IndexManagerHolder.getIndexManagerType(String indexName,
Properties[] indexProperties,
SearchConfiguration cfg,
WorkerBuildContext buildContext) |
static OptimizerStrategy |
PropertiesParseHelper.getOptimizerStrategy(IndexManager callback,
Properties indexProperties,
WorkerBuildContext buildContext) |
Backend |
IndexManagerGroupHolder.getOrCreateBackend(String indexManagerName,
Properties properties,
WorkerBuildContext buildContext) |
Backend |
IndexManagerGroupHolder.getOrCreateBackend(String backendName,
String indexManagerName,
Properties properties,
WorkerBuildContext buildContext) |
static boolean |
PropertiesParseHelper.isIndexMetadataComplete(Properties indexProps,
WorkerBuildContext context)
Returns the configured value of
Environment.INDEX_METADATA_COMPLETE for this specific index. |
| Modifier and Type | Method and Description |
|---|---|
protected DirectoryProvider<?> |
DirectoryBasedIndexManager.createDirectoryProvider(String indexName,
Properties cfg,
WorkerBuildContext buildContext) |
protected DirectoryBasedReaderProvider |
DirectoryBasedIndexManager.createIndexReader(String indexName,
Properties cfg,
WorkerBuildContext buildContext) |
protected WorkspaceHolder |
DirectoryBasedIndexManager.createWorkspaceHolder(String indexName,
Properties cfg,
WorkerBuildContext buildContext) |
void |
DirectoryBasedIndexManager.initialize(String indexName,
Properties properties,
org.apache.lucene.search.similarities.Similarity similarity,
WorkerBuildContext buildContext) |
void |
IndexManager.initialize(String indexName,
Properties properties,
org.apache.lucene.search.similarities.Similarity similarity,
WorkerBuildContext context)
Initialize this
IndexManager before its use. |
Copyright © 2006–2017 Hibernate. All rights reserved.