org.hibernate.search.backend.impl

## Class InternalBackendFactory

- java.lang.Object
- - org.hibernate.search.backend.impl.InternalBackendFactory

-     public final class InternalBackendFactory
      extends Object

  Factory to instantiate the correct Search backend or to be more concrete the `BackendQueueProcessor` implementation.
  Author:
    Sanne Grinovero (C) 2011 Red Hat Inc., Hardy Ferentschik

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Backend` | `createBackend(String backendName, String indexName, Properties properties, WorkerBuildContext buildContext)`
    `static boolean` | `isConfiguredAsSync(Properties properties)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### createBackend

          public static Backend createBackend(String backendName,
                                              String indexName,
                                              Properties properties,
                                              WorkerBuildContext buildContext)

    - #### isConfiguredAsSync

          public static boolean isConfiguredAsSync(Properties properties)

      Parameters:
        `properties` - the configuration to parse
      Returns:
        true if the configuration uses sync indexing

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved