Package com.bencodez.advancedcore.thread
Class FileThread.ReadThread
java.lang.Object
java.lang.Thread
com.bencodez.advancedcore.thread.FileThread.ReadThread
- All Implemented Interfaces:
Runnable
- Enclosing class:
FileThread
The Class ReadThread.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeletePlayerFile(String uuid) Deprecated.org.bukkit.configuration.file.FileConfigurationDeprecated.getPlayerFile(String uuid) Deprecated.booleanhasPlayerFile(String uuid) Deprecated.voidrun()voidRun.voidDeprecated.Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Constructor Details
-
ReadThread
public ReadThread()
-
-
Method Details
-
deletePlayerFile
Deprecated.Deletes a player file.- Parameters:
uuid- the player UUID
-
getData
@Deprecated public org.bukkit.configuration.file.FileConfiguration getData(UserData userData, String uuid) Deprecated.Gets data for a player.- Parameters:
userData- the user datauuid- the player UUID- Returns:
- the file configuration
-
getPlayerFile
Deprecated.Gets the player file.- Parameters:
uuid- the player UUID- Returns:
- the file
-
hasPlayerFile
Deprecated.Checks if a player file exists.- Parameters:
uuid- the player UUID- Returns:
- true if file exists
-
run
public void run() -
run
Run.- Parameters:
run- the run
-
setData
Deprecated.Sets data for a player.- Parameters:
userData- the user datauuid- the player UUIDpath- the data pathvalue- the value to set
-