org.elasticsearch.index.settings
Class IndexSettingsProvider
java.lang.Object
org.elasticsearch.index.settings.IndexSettingsProvider
- All Implemented Interfaces:
- Provider<Settings>
public class IndexSettingsProvider
- extends Object
- implements Provider<Settings>
A wrapper around the IndexSettingsService
allowing to get the current
settings associated with an index (thus, allowing to change those settings and
new shards will use the new settings).
Method Summary |
Settings |
get()
Provides an instance of T . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexSettingsProvider
@Inject
public IndexSettingsProvider(IndexSettingsService indexSettingsService)
get
public Settings get()
- Description copied from interface:
Provider
- Provides an instance of
T
. Must never return null
.
- Specified by:
get
in interface Provider<Settings>
Copyright © 2009-2012. All Rights Reserved.