Class BmRunnable
java.lang.Object
me.confuser.banmanager.common.runnables.BmRunnable
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
BanSync,ExpiresSync,GlobalBanSync,GlobalIpSync,GlobalMuteSync,GlobalNoteSync,IpRangeSync,IpSync,MuteSync,NameSync,RollbackSync,WarningSync
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected longprotected longprotected final Stringprotected BanManagerPluginprotected long -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterRun()voidprotected longprotected me.confuser.banmanager.common.ormlite.dao.BaseDaoImpl<?, ?> protected DatabaseConfigboolean
-
Field Details
-
name
-
plugin
-
lastChecked
protected long lastChecked -
runCheckpoint
protected long runCheckpoint -
lastRunLocal
protected long lastRunLocal -
isRunning
protected boolean isRunning
-
-
Constructor Details
-
BmRunnable
-
-
Method Details
-
shouldExecute
public boolean shouldExecute() -
beforeRun
public void beforeRun() -
afterRun
public void afterRun() -
fetchDbTime
protected long fetchDbTime() -
getCheckpointDbConfig
-
getCheckpointDao
protected me.confuser.banmanager.common.ormlite.dao.BaseDaoImpl<?,?> getCheckpointDao()
-