org.hibernate.search.backend.jgroups.impl

## Interface NodeSelectorService

- All Superinterfaces:
    Service
  All Known Implementing Classes:
    DefaultNodeSelectorService

      public interface NodeSelectorService
      extends Service

  Contains the `NodeSelectorStrategy` selected for each index, or returns the default one. Chosen strategies can be changed at any time. Implementors need to be threadsafe.
  Author:
    Sanne Grinovero (C) 2012 Red Hat Inc.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `NodeSelectorStrategy` | `getMasterNodeSelector(String indexName)`
    `void` | `setLocalAddress(Address address)`
    `void` | `setNodeSelectorStrategy(String indexName, NodeSelectorStrategy selector)`
    `void` | `viewAccepted(View view)`

- - ### Method Detail

    - #### getMasterNodeSelector

          NodeSelectorStrategy getMasterNodeSelector(String indexName)

    - #### setNodeSelectorStrategy

          void setNodeSelectorStrategy(String indexName,
                                       NodeSelectorStrategy selector)

    - #### setLocalAddress

          void setLocalAddress(Address address)

    - #### viewAccepted

          void viewAccepted(View view)

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