Class CookieChangeTransaction
java.lang.Object
com.djrapitops.plan.storage.database.transactions.Transaction
com.djrapitops.plan.storage.database.transactions.events.CookieChangeTransaction
-
Nested Class Summary
Nested classes/interfaces inherited from class Transaction
Transaction.IsolationLevel -
Field Summary
Fields inherited from class Transaction
attempts, dbType, success -
Method Summary
Modifier and TypeMethodDescriptionprotected voidImplement this method for transaction execution.static CookieChangeTransactionstatic CookieChangeTransactionremoveCookie(String cookie) static CookieChangeTransactionremoveCookieByUser(String username) static CookieChangeTransactionstoreCookie(String username, String cookie, long expires, String ipAddress) Methods inherited from class Transaction
commitMidTransaction, dbIsNotUnderHeavyLoad, execute, execute, executeOther, executeReturningId, executeSwallowingExceptions, executeTransaction, getDBState, getDesiredIsolationLevel, getName, getServerUUID, hasTable, lockForUpdate, query, shouldBeExecuted, toString, wasSuccessful
-
Method Details
-
storeCookie
public static CookieChangeTransaction storeCookie(String username, String cookie, long expires, String ipAddress) -
removeCookieByUser
-
removeCookie
-
removeAll
-
performOperations
protected void performOperations()Description copied from class:TransactionImplement this method for transaction execution.- Specified by:
performOperationsin classTransaction
-