| Constructor and Description |
|---|
ReflectionBasedBackend(Class<? extends BackendQueueProcessor> backendQueueProcessorClass) |
| Modifier and Type | Method and Description |
|---|---|
BackendQueueProcessor |
createQueueProcessor(IndexManager indexManager,
WorkerBuildContext context)
Called exactly once for each index manager using this backend.
|
void |
initialize(Properties properties,
WorkerBuildContext context)
Used at startup, called once as first method.
|
boolean |
isTransactional() |
String |
toString() |
public ReflectionBasedBackend(Class<? extends BackendQueueProcessor> backendQueueProcessorClass)
public void initialize(Properties properties, WorkerBuildContext context)
Backendinitialize in interface Backendproperties - all configuration propertiescontext - context giving access to required meta datapublic boolean isTransactional()
isTransactional in interface Backendtrue if this backend is able to enlist in ongoing transactions.public BackendQueueProcessor createQueueProcessor(IndexManager indexManager, WorkerBuildContext context)
BackendcreateQueueProcessor in interface BackendindexManager - the IndexManager the BackendQueueProcessor will point tocontext - context giving access to required meta dataBackendQueueProcessor that will send its works to the given index managerCopyright © 2006–2017 Hibernate. All rights reserved.