mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-04 00:46:40 +00:00
Format code
This commit is contained in:
5
src/main/java/dev/plex/cache/DataUtils.java
vendored
5
src/main/java/dev/plex/cache/DataUtils.java
vendored
@ -13,6 +13,7 @@ public class DataUtils
|
||||
{
|
||||
/**
|
||||
* Checks if the player has been on the server before
|
||||
*
|
||||
* @param uuid The unique ID of the player
|
||||
* @return true if the player is registered in the database
|
||||
*/
|
||||
@ -30,6 +31,7 @@ public class DataUtils
|
||||
|
||||
/**
|
||||
* Gets a player from cache or from the database
|
||||
*
|
||||
* @param uuid The unique ID of the player
|
||||
* @return a PlexPlayer object
|
||||
* @see PlexPlayer
|
||||
@ -53,6 +55,7 @@ public class DataUtils
|
||||
|
||||
/**
|
||||
* Gets a player from cache or from the database
|
||||
*
|
||||
* @param name Username of the player
|
||||
* @return a PlexPlayer object
|
||||
* @see PlexPlayer
|
||||
@ -64,6 +67,7 @@ public class DataUtils
|
||||
|
||||
/**
|
||||
* Updates a player's information in the database
|
||||
*
|
||||
* @param plexPlayer The PlexPlayer to update
|
||||
* @see PlexPlayer
|
||||
*/
|
||||
@ -81,6 +85,7 @@ public class DataUtils
|
||||
|
||||
/**
|
||||
* Inserts a player's information in the database
|
||||
*
|
||||
* @param plexPlayer The PlexPlayer to insert
|
||||
* @see PlexPlayer
|
||||
*/
|
||||
|
@ -29,6 +29,7 @@ public class MongoPlayerData
|
||||
|
||||
/**
|
||||
* Checks whether the player exists in mongo's database
|
||||
*
|
||||
* @param uuid The unique ID of the player
|
||||
* @return true if the player was found
|
||||
*/
|
||||
@ -42,6 +43,7 @@ public class MongoPlayerData
|
||||
|
||||
/**
|
||||
* Gets the player from cache or from mongo's database
|
||||
*
|
||||
* @param uuid The unique ID of the player
|
||||
* @return a PlexPlayer object
|
||||
* @see PlexPlayer
|
||||
@ -59,6 +61,7 @@ public class MongoPlayerData
|
||||
|
||||
/**
|
||||
* Updates a player's information in the mongo database
|
||||
*
|
||||
* @param player The PlexPlayer object
|
||||
* @see PlexPlayer
|
||||
*/
|
||||
@ -84,6 +87,7 @@ public class MongoPlayerData
|
||||
|
||||
/**
|
||||
* Saves the player's information in the database
|
||||
*
|
||||
* @param plexPlayer The PlexPlayer object
|
||||
* @see PlexPlayer
|
||||
*/
|
||||
|
@ -22,6 +22,7 @@ public class SQLPlayerData
|
||||
|
||||
/**
|
||||
* Checks if a player exists in the SQL database
|
||||
*
|
||||
* @param uuid The unique ID of the player
|
||||
* @return true if the player was found in the database
|
||||
*/
|
||||
@ -43,6 +44,7 @@ public class SQLPlayerData
|
||||
|
||||
/**
|
||||
* Gets the player from cache or from the SQL database
|
||||
*
|
||||
* @param uuid The unique ID of the player
|
||||
* @return a PlexPlayer object
|
||||
* @see PlexPlayer
|
||||
@ -92,6 +94,7 @@ public class SQLPlayerData
|
||||
|
||||
/**
|
||||
* Updates a player's information in the SQL database
|
||||
*
|
||||
* @param player The PlexPlayer object
|
||||
* @see PlexPlayer
|
||||
*/
|
||||
@ -119,6 +122,7 @@ public class SQLPlayerData
|
||||
|
||||
/**
|
||||
* Inserts the player's information in the database
|
||||
*
|
||||
* @param player The PlexPlayer object
|
||||
* @see PlexPlayer
|
||||
*/
|
||||
|
Reference in New Issue
Block a user