Interface Storage
- All Known Implementing Classes:
LegacyStorage
@Beta
@ThreadSafe
public interface Storage
The
Storage
interface is the abstract layer on top of our storage backends.
Every backend has to implement this interface and has to implement it in a thread-safe way.
There will be no expectation of running functions in here within the main thread.
This API is still experimental, it may change without notice.
-
Method Summary
Modifier and TypeMethodDescriptionloadPlayerData
(UUID uuid) void
savePlayerData
(UUID uuid, PlayerData data)
-
Method Details
-
loadPlayerData
-
savePlayerData
-