Package org.apache.solr.cloud
Class RecoveryStrategy.Builder
- java.lang.Object
-
- org.apache.solr.cloud.RecoveryStrategy.Builder
-
- All Implemented Interfaces:
NamedListInitializedPlugin
- Enclosing class:
- RecoveryStrategy
public static class RecoveryStrategy.Builder extends Object implements NamedListInitializedPlugin
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecoveryStrategy
create(CoreContainer cc, CoreDescriptor cd, RecoveryStrategy.RecoveryListener recoveryListener)
void
init(org.apache.solr.common.util.NamedList<?> args)
init
will be called just once, immediately after creation.protected RecoveryStrategy
newRecoveryStrategy(CoreContainer cc, CoreDescriptor cd, RecoveryStrategy.RecoveryListener recoveryListener)
-
-
-
Method Detail
-
init
public void init(org.apache.solr.common.util.NamedList<?> args)
Description copied from interface:NamedListInitializedPlugin
init
will be called just once, immediately after creation.Source of the initialization arguments will typically be solrconfig.xml, but will ultimately depends on the plugin itself
- Specified by:
init
in interfaceNamedListInitializedPlugin
- Parameters:
args
- non-null list of initialization parameters (may be empty)
-
create
public RecoveryStrategy create(CoreContainer cc, CoreDescriptor cd, RecoveryStrategy.RecoveryListener recoveryListener)
-
newRecoveryStrategy
protected RecoveryStrategy newRecoveryStrategy(CoreContainer cc, CoreDescriptor cd, RecoveryStrategy.RecoveryListener recoveryListener)
-
-