public abstract class TriggerListenerBase extends Object implements TriggerListener
TriggerListener
.Modifier and Type | Field and Description |
---|---|
protected SolrCloudManager |
cloudManager |
protected AutoScalingConfig.TriggerListenerConfig |
config |
Constructor and Description |
---|
TriggerListenerBase() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
AutoScalingConfig.TriggerListenerConfig |
getConfig() |
void |
init(SolrCloudManager cloudManager,
AutoScalingConfig.TriggerListenerConfig config) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onEvent
protected AutoScalingConfig.TriggerListenerConfig config
protected SolrCloudManager cloudManager
public void init(SolrCloudManager cloudManager, AutoScalingConfig.TriggerListenerConfig config)
init
in interface TriggerListener
public AutoScalingConfig.TriggerListenerConfig getConfig()
getConfig
in interface TriggerListener
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.