org.hibernate.search.backend.jgroups.impl

## Class JGroupsBackendQueueTask

- java.lang.Object
- - org.hibernate.search.backend.jgroups.impl.JGroupsBackendQueueTask

-     public class JGroupsBackendQueueTask
      extends Object

  Responsible for sending Lucene works from slave nodes to master node
  Author:
    Lukasz Moren, Sanne Grinovero (C) 2011 Red Hat Inc., Ales Justin

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JGroupsBackendQueueTask(MessageSenderService messageSender, IndexManager indexManager, NodeSelectorService masterNodeSelector, LuceneWorkSerializer luceneWorkSerializer, boolean blockForACK, long messageTimeout)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `blocksForACK()`
    `long` | `getMessageTimeout()`
    `void` | `sendLuceneWorkList(List<LuceneWork> queue)`

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

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

- - ### Constructor Detail

    - #### JGroupsBackendQueueTask

          public JGroupsBackendQueueTask(MessageSenderService messageSender,
                                         IndexManager indexManager,
                                         NodeSelectorService masterNodeSelector,
                                         LuceneWorkSerializer luceneWorkSerializer,
                                         boolean blockForACK,
                                         long messageTimeout)

  - ### Method Detail

    - #### sendLuceneWorkList

          public void sendLuceneWorkList(List<LuceneWork> queue)

    - #### blocksForACK

          public boolean blocksForACK()

    - #### getMessageTimeout

          public long getMessageTimeout()

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