public class Analysis extends Object
Constructor and Description |
---|
Analysis(Plan plugin)
Class Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
analyze(InformationManager infoManager,
Database db)
Caches analyzed data of db to the provided cache analysisCache.
|
boolean |
analyzeData(InformationManager infoManager,
Database db)
Analyze data in the db about this server.
|
boolean |
isAnalysisBeingRun()
Check whether or not analysis is being run.
|
void |
runAnalysis(InformationManager infoManager)
Analyzes the data of all offline players on the server.
|
void |
setTaskId(int id) |
public Analysis(Plan plugin)
plugin
- Current instance of Planpublic void runAnalysis(InformationManager infoManager)
infoManager
- InformationManager of the plugin.public boolean analyze(InformationManager infoManager, Database db)
infoManager
- InformationManager of the plugin.
method.db
- Database which data will be analyzed.public boolean analyzeData(InformationManager infoManager, Database db)
infoManager
- InformationManager of the plugin.public boolean isAnalysisBeingRun()
public void setTaskId(int id)
Copyright © 2017. All rights reserved.