public class Analysis extends Object
Constructor and Description |
---|
Analysis(Plan plugin)
Class Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
analyze(AnalysisCacheHandler analysisCache)
Deprecated.
Does nothing anymore, use analyze(AnalysisCacheHandler,
Database)
|
boolean |
analyze(AnalysisCacheHandler analysisCache,
Database db)
Caches analyzed data of db to the provided cache analysisCache.
|
boolean |
analyzeData(List<UserData> rawData,
List<UUID> uuids,
AnalysisCacheHandler analysisCache) |
void |
runAnalysis(AnalysisCacheHandler analysisCache)
Analyzes the data of all offlineplayers on the server.
|
public Analysis(Plan plugin)
plugin
- Current instance of Planpublic void runAnalysis(AnalysisCacheHandler analysisCache)
analysisCache
- Cache that the data is saved to.@Deprecated public void analyze(AnalysisCacheHandler analysisCache)
analysisCache
- public boolean analyze(AnalysisCacheHandler analysisCache, Database db)
analysisCache
- Cache that will contain AnalysisData result of this
method.db
- Database which data will be analyzed.public boolean analyzeData(List<UserData> rawData, List<UUID> uuids, AnalysisCacheHandler analysisCache)
rawData
- uuids
- analysisCache
- Copyright © 2017. All rights reserved.