Package marauroa.server.game.db
Class StatisticsDAO
java.lang.Object
marauroa.server.game.db.StatisticsDAO
data access object for statistics.
- Author:
- miguel, hendrik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addStatisticsEvent(DBTransaction transaction, Statistics.Variables var)
Deprecated.void
addStatisticsEvent(DBTransaction transaction, Statistics.Variables var, Timestamp timestamp)
adds an statistics sample to the database logvoid
Deprecated.
-
Constructor Details
-
StatisticsDAO
protected StatisticsDAO()Creates a new StatisticsDAO
-
-
Method Details
-
addStatisticsEvent
@Deprecated public void addStatisticsEvent(DBTransaction transaction, Statistics.Variables var) throws SQLExceptionDeprecated.adds an statistics sample to the database log- Parameters:
transaction
- DBTransactionvar
- Variables- Throws:
SQLException
- in case of an database error
-
addStatisticsEvent
public void addStatisticsEvent(DBTransaction transaction, Statistics.Variables var, Timestamp timestamp) throws SQLExceptionadds an statistics sample to the database log- Parameters:
transaction
- DBTransactionvar
- Variablestimestamp
- timestamp- Throws:
SQLException
- in case of an database error
-
addStatisticsEvent
Deprecated.adds an statistics sample to the database log- Parameters:
var
- Variables
-