Class TPSStoreTransaction
java.lang.Object
com.djrapitops.plan.storage.database.transactions.Transaction
com.djrapitops.plan.storage.database.transactions.events.TPSStoreTransaction
Transaction to store server's TPS data.
-
Field Summary
Fields inherited from class com.djrapitops.plan.storage.database.transactions.Transaction
attempts, dbType, success
-
Constructor Summary
ConstructorDescriptionTPSStoreTransaction
(ServerUUID serverUUID, TPS tps) TPSStoreTransaction
(net.playeranalytics.plugin.server.PluginLogger logger, ServerUUID serverUUID, TPS tps) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Implement this method for transaction execution.static void
setLastStorageCheck
(long lastStorageCheck) Methods inherited from class com.djrapitops.plan.storage.database.transactions.Transaction
commitMidTransaction, dbIsNotUnderHeavyLoad, execute, execute, executeOther, executeReturningId, executeSwallowingExceptions, executeTransaction, getDBState, getName, getServerUUID, hasTable, query, shouldBeExecuted, toString, wasSuccessful
-
Constructor Details
-
TPSStoreTransaction
public TPSStoreTransaction(net.playeranalytics.plugin.server.PluginLogger logger, ServerUUID serverUUID, TPS tps) -
TPSStoreTransaction
-
-
Method Details
-
setLastStorageCheck
public static void setLastStorageCheck(long lastStorageCheck) -
performOperations
protected void performOperations()Description copied from class:Transaction
Implement this method for transaction execution.- Specified by:
performOperations
in classTransaction
-