public class RemovePlayerTransaction extends Transaction
dbType, success
Constructor and Description |
---|
RemovePlayerTransaction(java.util.UUID playerUUID) |
Modifier and Type | Method and Description |
---|---|
protected void |
performOperations()
Implement this method for transaction execution.
|
protected boolean |
shouldBeExecuted()
Override this method for conditional execution.
|
execute, execute, executeOther, executeSwallowingExceptions, executeTransaction, getServerUUID, query, toString, wasSuccessful
public RemovePlayerTransaction(java.util.UUID playerUUID)
protected boolean shouldBeExecuted()
Transaction
Please note that the transaction has not been initialized and class variables are not available for queries. The condition should depend on other variables (Like the data that is to be stored) given to the transaction.
shouldBeExecuted
in class Transaction
protected void performOperations()
Transaction
performOperations
in class Transaction