use of me.botsko.prism.purge.PurgeManager in project Prism-Bukkit by prism.
the class Prism method launchScheduledPurgeManager.
/**
* Schedule the Purge manager.
*/
private void launchScheduledPurgeManager() {
final List<String> purgeRules = getConfig().getStringList("prism.db-records-purge-rules");
purgeManager = new PurgeManager(this, purgeRules);
schedulePool.scheduleAtFixedRate(purgeManager, 0, 12, TimeUnit.HOURS);
}
Aggregations