Class RemoveOldExtensionsTransaction
java.lang.Object
com.djrapitops.plan.storage.database.transactions.Transaction
com.djrapitops.plan.storage.database.transactions.ThrowawayTransaction
com.djrapitops.plan.storage.database.transactions.init.RemoveOldExtensionsTransaction
Transaction that removes outdated plugin's data after configurable threshold.
-
Nested Class Summary
Nested classes/interfaces inherited from class Transaction
Transaction.IsolationLevel -
Field Summary
Fields inherited from class Transaction
attempts, dbType, success -
Constructor Summary
ConstructorsConstructorDescriptionRemoveOldExtensionsTransaction(ExtensionSettings extensionSettings, long deleteAfterMs, ServerUUID serverUUID) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidImplement this method for transaction execution.Methods inherited from class ThrowawayTransaction
shouldBeExecutedMethods inherited from class Transaction
commitMidTransaction, dbIsNotUnderHeavyLoad, execute, execute, executeOther, executeReturningId, executeSwallowingExceptions, executeTransaction, getDBState, getDesiredIsolationLevel, getName, getServerUUID, hasTable, lockForUpdate, query, toString, wasSuccessful
-
Constructor Details
-
RemoveOldExtensionsTransaction
public RemoveOldExtensionsTransaction(ExtensionSettings extensionSettings, long deleteAfterMs, ServerUUID serverUUID)
-
-
Method Details
-
performOperations
protected void performOperations()Description copied from class:TransactionImplement this method for transaction execution.- Specified by:
performOperationsin classTransaction
-