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.
-
Field Summary
Fields inherited from class com.djrapitops.plan.storage.database.transactions.events.PlayerRegisterTransaction
playerUUID, registered
Fields inherited from class com.djrapitops.plan.storage.database.transactions.Transaction
attempts, dbType, success
-
Constructor Summary
ConstructorDescriptionStoreServerPlayerTransaction
(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 void
Implement this method for transaction execution.Methods inherited from class com.djrapitops.plan.storage.database.transactions.events.PlayerRegisterTransaction
getUserId, shouldBeExecuted
Methods inherited from class com.djrapitops.plan.storage.database.transactions.Transaction
commitMidTransaction, dbIsNotUnderHeavyLoad, execute, execute, executeOther, executeReturningId, executeSwallowingExceptions, executeTransaction, getDBState, getName, getServerUUID, hasTable, 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:Transaction
Implement this method for transaction execution.- Overrides:
performOperations
in classPlayerRegisterTransaction
-