org.infinispan.config
Interface FluentConfiguration.IndexingConfig

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

public static interface FluentConfiguration.IndexingConfig

Configures indexing of entries in the cache for searching.


Method Summary
 FluentConfiguration.IndexingConfig addProperty(String key, String value)
          Defines a single property.
 Configuration build()
           
 FluentConfiguration.ClusteringConfig clustering()
           
 FluentConfiguration.CustomInterceptorsConfig customInterceptors()
           
 FluentConfiguration.DataContainerConfig dataContainer()
           
 FluentConfiguration.DeadlockDetectionConfig deadlockDetection()
          This method allows configuration of the deadlock detection.
 FluentConfiguration.IndexingConfig disable()
          Indexing is disabled by default, but using the fluent API entering the FluentTypes.indexing() method enables Indexing implicitly.
 FluentConfiguration.EvictionConfig eviction()
           
 FluentConfiguration.ExpirationConfig expiration()
           
 FluentConfiguration.IndexingConfig indexing()
          This method allows configuration of the indexing subsystem.
 FluentConfiguration.IndexingConfig indexLocalOnly(Boolean indexLocalOnly)
          If true, only index changes made locally, ignoring remote changes.
 FluentConfiguration.InvocationBatchingConfig invocationBatching()
          This method allows configuration of invocation batching.
 FluentConfiguration.JmxStatisticsConfig jmxStatistics()
          This method allows configuration of jmx statistics.
 FluentConfiguration.LoadersConfig loaders()
           
 FluentConfiguration.LockingConfig locking()
           
 FluentConfiguration.StoreAsBinaryConfig storeAsBinary()
          This method allows configuration of lazy deserialization.
 FluentConfiguration.TransactionConfig transaction()
           
 FluentConfiguration.UnsafeConfig unsafe()
           
 FluentConfiguration.IndexingConfig withProperties(Properties properties)
          The Query engine relies on properties for configuration.
 

Method Detail

indexLocalOnly

FluentConfiguration.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 -
Returns:
this, for method chaining

disable

FluentConfiguration.IndexingConfig disable()
Indexing is disabled by default, but using the fluent API entering the FluentTypes.indexing() method enables Indexing implicitly. If needed, this method can be used to disable it.

Returns:
this, for method chaining

withProperties

FluentConfiguration.IndexingConfig withProperties(Properties properties)

The Query engine relies on properties for configuration.

These properties are passed directly to the embedded Hibernate Search engine, so for the complete and up to date documentation about available properties refer to the Hibernate Search reference of the version you're using with Infinispan Query.

Parameters:
properties -
Returns:
this, for method chaining
See Also:
Hibernate Search

addProperty

FluentConfiguration.IndexingConfig addProperty(String key,
                                               String value)

Defines a single property. Can be used multiple times to define all needed properties, but the full set is overridden by withProperties(Properties).

These properties are passed directly to the embedded Hibernate Search engine, so for the complete and up to date documentation about available properties refer to the Hibernate Search reference of the version you're using with Infinispan Query.

Parameters:
key - Property key
value - Property value
Returns:
this, for method chaining
See Also:
Hibernate Search

locking

FluentConfiguration.LockingConfig locking()

loaders

FluentConfiguration.LoadersConfig loaders()

transaction

FluentConfiguration.TransactionConfig transaction()

deadlockDetection

FluentConfiguration.DeadlockDetectionConfig deadlockDetection()
This method allows configuration of the deadlock detection. When this method is called, it automatically enables deadlock detection. So, if you want it to be disabled, make sure you call FluentConfiguration.DeadlockDetectionConfig.disable()


customInterceptors

FluentConfiguration.CustomInterceptorsConfig customInterceptors()

eviction

FluentConfiguration.EvictionConfig eviction()

expiration

FluentConfiguration.ExpirationConfig expiration()

clustering

FluentConfiguration.ClusteringConfig clustering()

indexing

FluentConfiguration.IndexingConfig indexing()
This method allows configuration of the indexing subsystem. When this method is called, it automatically enables indexing. So, if you want it to be disabled, make sure you call disable()


dataContainer

FluentConfiguration.DataContainerConfig dataContainer()

unsafe

FluentConfiguration.UnsafeConfig unsafe()

jmxStatistics

FluentConfiguration.JmxStatisticsConfig jmxStatistics()
This method allows configuration of jmx statistics. When this method is called, it automatically enables jmx statistics.


storeAsBinary

FluentConfiguration.StoreAsBinaryConfig storeAsBinary()
This method allows configuration of lazy deserialization. When this method is called, it automatically enables lazy deserialization.


invocationBatching

FluentConfiguration.InvocationBatchingConfig invocationBatching()
This method allows configuration of invocation batching. When this method is called, it automatically enables invocation batching.


build

Configuration build()

-->

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