org.hibernate.search.backend.impl

## Class LocalBackend

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

- All Implemented Interfaces:
    Backend

      public class LocalBackend
      extends Object
      implements Backend

  A `Backend` which applies given index changes locally to the corresponding `IndexManager`.
  Author:
    Gunnar Morling

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static LocalBackend` | `INSTANCE`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `BackendQueueProcessor` | `createQueueProcessor(IndexManager indexManager, WorkerBuildContext context)` Called exactly once for each index manager using this backend.

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

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

    - ### Methods inherited from interface org.hibernate.search.backend.spi.Backend

      `close, initialize, isTransactional`

- - ### Field Detail

    - #### INSTANCE

          public static final LocalBackend INSTANCE

  - ### Method Detail

    - #### createQueueProcessor

          public BackendQueueProcessor createQueueProcessor(IndexManager indexManager,
                                                            WorkerBuildContext context)

      Description copied from interface: `Backend`
      Called exactly once for each index manager using this backend.
      Specified by:
        `createQueueProcessor` in interface `Backend`
      Parameters:
        `indexManager` - the `IndexManager` the `BackendQueueProcessor` will point to
        `context` - context giving access to required meta data
      Returns:
        a `BackendQueueProcessor` that will send its works to the given index manager

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