org.infinispan.config
Interface Configuration.IndexingConfig

All Known Implementing Classes:
Configuration.QueryConfigurationBean
Enclosing class:
Configuration

public static interface Configuration.IndexingConfig

Configures indexing of entries in the cache for searching.

Since:
5.0
Author:
Vladimir Blagojevic

Method Summary
 Configuration.IndexingConfig enabled(Boolean enabled)
          If enabled, entries will be indexed when they are added to the cache.
 Configuration.IndexingConfig indexLocalOnly(Boolean indexlocalOnly)
          If true, only index changes made locally, ignoring remote changes.
 

Method Detail

enabled

Configuration.IndexingConfig enabled(Boolean enabled)
If enabled, entries will be indexed when they are added to the cache. Indexes will be updated as entries change or are removed.

Parameters:
enabled -

indexLocalOnly

Configuration.IndexingConfig indexLocalOnly(Boolean indexlocalOnly)
If true, only index changes made locally, ignoring remote changes. This is useful if indexes are shared across a cluster to prevent redundant indexing of updates.

Parameters:
indexLocalOnly -


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.