public abstract class Plugin extends Object
A plugin can be register custom extensions to builtin behavior by implementing onModule(AnyModule), and registering the extension with the given module.
Constructor and Description |
---|
Plugin() |
Modifier and Type | Method and Description |
---|---|
Settings |
additionalSettings()
Additional node settings loaded by the plugin.
|
abstract String |
description()
The description of the plugin.
|
Collection<Module> |
indexModules(Settings indexSettings)
Per index modules.
|
Collection<Class<? extends Closeable>> |
indexServices()
Per index services that will be automatically closed.
|
abstract String |
name()
The name of the plugin.
|
Collection<Module> |
nodeModules()
Node level modules.
|
Collection<Class<? extends LifecycleComponent>> |
nodeServices()
Node level services that will be automatically started/stopped/closed.
|
Collection<Module> |
shardModules(Settings indexSettings)
Per index shard module.
|
Collection<Class<? extends Closeable>> |
shardServices()
Per index shard service that will be automatically closed.
|
public abstract String name()
public abstract String description()
public Collection<Module> nodeModules()
public Collection<Class<? extends LifecycleComponent>> nodeServices()
public Collection<Module> indexModules(Settings indexSettings)
public Collection<Class<? extends Closeable>> indexServices()
public Collection<Module> shardModules(Settings indexSettings)
public Collection<Class<? extends Closeable>> shardServices()
public Settings additionalSettings()
Copyright © 2009–2016. All rights reserved.