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.
-
Field Summary
Fields inherited from class com.djrapitops.plan.storage.database.transactions.Transaction
attempts, dbType, success
-
Constructor Summary
ConstructorDescriptionStoreGeoInfoTransaction
(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 void
Implement this method for transaction execution.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
-
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:Transaction
Implement this method for transaction execution.- Specified by:
performOperations
in classTransaction
-