public final class BackendFactory extends Object
BackendQueueProcessor implementations.
Intended to be used by BackendQueueProcessor implementations looking to delegate
to a different implementation.
| Modifier and Type | Method and Description |
|---|---|
static BackendQueueProcessor |
createBackend(IndexManager indexManager,
WorkerBuildContext buildContext,
Properties properties) |
static BackendQueueProcessor |
createBackend(String backendName,
IndexManager indexManager,
WorkerBuildContext buildContext,
Properties properties) |
static boolean |
isConfiguredAsSync(Properties properties) |
public static BackendQueueProcessor createBackend(IndexManager indexManager, WorkerBuildContext buildContext, Properties properties)
indexManager - the index managerbuildContext - context giving access to required meta dataproperties - all configuration propertiesBackendQueueProcessor for the given index manager.public static BackendQueueProcessor createBackend(String backendName, IndexManager indexManager, WorkerBuildContext buildContext, Properties properties)
backendName - the name of the backend to be createdindexManager - the index managerbuildContext - context giving access to required meta dataproperties - all configuration propertiesBackendQueueProcessor for the given index manager.public static boolean isConfiguredAsSync(Properties properties)
properties - the configuration to parseCopyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.