public class DiskPlayerStorageProvider implements PlayerStorageProvider
Class DiskPlayerStorageProvider. Provides diskplayerstorageprovider functionality for the Hytale server.
java.lang.Object > DiskPlayerStorageProvider
Field Summary
path
private
Path
path
Field path.
file
final
Path
file
Field file.
document
final
BsonDocument
document
Field document.
fileName
final
String
fileName
Field fileName.
Method Detail
DiskPlayerStorageProvider
public
public
DiskPlayerStorageProvider
()
Method DiskPlayerStorageProvider.
getPath
public
Path
getPath
()
Method getPath.
toString
public
String
toString
()
Method toString.
load
public
CompletableFuture>
load
(@Nonnull final UUID uuid)
Method load.
- Parameters:
@Nonnull final UUIDuuid
remove
public
CompletableFuture
remove
(@Nonnull final UUID uuid)
Method remove.
- Parameters:
@Nonnull final UUIDuuid
getPlayers
public
Set
getPlayers
()
Method getPlayers.