Class StoreGeoInfoTransaction
java.lang.Object
com.djrapitops.plan.storage.database.transactions.Transaction
com.djrapitops.plan.storage.database.transactions.events.StoreGeoInfoTransaction
Transaction to update Geo information of a player in the database.
-
Nested Class Summary
Nested classes/interfaces inherited from class Transaction
Transaction.IsolationLevel -
Field Summary
Fields inherited from class Transaction
attempts, dbType, success -
Constructor Summary
ConstructorsConstructorDescriptionStoreGeoInfoTransaction(UUID playerUUID, GeoInfo geoInfo) StoreGeoInfoTransaction(UUID playerUUID, String ip, long time, UnaryOperator<String> geolocationFunction) StoreGeoInfoTransaction(UUID playerUUID, InetAddress ip, long time, UnaryOperator<String> geolocationFunction) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidImplement this method for transaction execution.Methods inherited from class Transaction
commitMidTransaction, dbIsNotUnderHeavyLoad, execute, execute, executeOther, executeReturningId, executeSwallowingExceptions, executeTransaction, getDBState, getDesiredIsolationLevel, getName, getServerUUID, hasTable, lockForUpdate, query, shouldBeExecuted, toString, wasSuccessful
-
Constructor Details
-
StoreGeoInfoTransaction
public StoreGeoInfoTransaction(UUID playerUUID, String ip, long time, UnaryOperator<String> geolocationFunction) -
StoreGeoInfoTransaction
public StoreGeoInfoTransaction(UUID playerUUID, InetAddress ip, long time, UnaryOperator<String> geolocationFunction) -
StoreGeoInfoTransaction
-
-
Method Details
-
performOperations
protected void performOperations()Description copied from class:TransactionImplement this method for transaction execution.- Specified by:
performOperationsin classTransaction
-