public class InvariantReloadingStrategy extends Object implements ReloadingStrategy
Constructor and Description |
---|
InvariantReloadingStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
init()
Initialize the strategy.
|
void |
reloadingPerformed()
Notify the strategy that the file has been reloaded.
|
boolean |
reloadingRequired()
Tell if the evaluation of the strategy requires to reload the configuration.
|
void |
setConfiguration(FileConfiguration configuration)
Set the configuration managed by this strategy.
|
public void setConfiguration(FileConfiguration configuration)
ReloadingStrategy
setConfiguration
in interface ReloadingStrategy
configuration
- the configuration to monitorpublic void init()
ReloadingStrategy
init
in interface ReloadingStrategy
public boolean reloadingRequired()
ReloadingStrategy
reloadingRequired
in interface ReloadingStrategy
public void reloadingPerformed()
ReloadingStrategy
reloadingPerformed
in interface ReloadingStrategy
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.