Class CookieChangeTransaction
java.lang.Object
com.djrapitops.plan.storage.database.transactions.Transaction
com.djrapitops.plan.storage.database.transactions.events.CookieChangeTransaction
-
Field Summary
Fields inherited from class com.djrapitops.plan.storage.database.transactions.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 com.djrapitops.plan.storage.database.transactions.Transaction
commitMidTransaction, dbIsNotUnderHeavyLoad, execute, execute, executeOther, executeReturningId, executeSwallowingExceptions, executeTransaction, getDBState, getName, getServerUUID, hasTable, 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
-