Class StoreServerPlayerTransaction
java.lang.Object
com.djrapitops.plan.storage.database.transactions.Transaction
com.djrapitops.plan.storage.database.transactions.events.PlayerRegisterTransaction
com.djrapitops.plan.storage.database.transactions.events.StoreServerPlayerTransaction
Transaction for registering player's BaseUser and UserInfo to the database.
-
Nested Class Summary
Nested classes/interfaces inherited from class Transaction
Transaction.IsolationLevel -
Field Summary
Fields inherited from class PlayerRegisterTransaction
playerUUID, registeredFields inherited from class Transaction
attempts, dbType, success -
Constructor Summary
ConstructorsConstructorDescriptionStoreServerPlayerTransaction(UUID playerUUID, long registerDate, String name, ServerUUID serverUUID, String joinAddress) StoreServerPlayerTransaction(UUID playerUUID, LongSupplier registered, String playerName, ServerUUID serverUUID, Supplier<String> getJoinAddress) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidImplement this method for transaction execution.Methods inherited from class PlayerRegisterTransaction
getUserId, shouldBeExecutedMethods inherited from class Transaction
commitMidTransaction, dbIsNotUnderHeavyLoad, execute, execute, executeOther, executeReturningId, executeSwallowingExceptions, executeTransaction, getDBState, getDesiredIsolationLevel, getName, getServerUUID, hasTable, lockForUpdate, query, toString, wasSuccessful
-
Constructor Details
-
StoreServerPlayerTransaction
public StoreServerPlayerTransaction(UUID playerUUID, LongSupplier registered, String playerName, ServerUUID serverUUID, Supplier<String> getJoinAddress) -
StoreServerPlayerTransaction
public StoreServerPlayerTransaction(UUID playerUUID, long registerDate, String name, ServerUUID serverUUID, String joinAddress)
-
-
Method Details
-
performOperations
protected void performOperations()Description copied from class:TransactionImplement this method for transaction execution.- Overrides:
performOperationsin classPlayerRegisterTransaction
-