Class GrpcPlayerDataService
java.lang.Object
tech.skworks.tachyon.plugin.core.grpc.AbstractGrpcService
tech.skworks.tachyon.plugin.core.playerdata.GrpcPlayerDataService
- All Implemented Interfaces:
PlayerDataService
Project Tachyon
Class ComponentService
- Since:
- 1.0.0-SNAPSHOT
- Version:
- 1.0
- Author:
- Jimmy (vSKAH) - 07/04/2026
-
Field Summary
Fields inherited from class AbstractGrpcService
backendStubProvider, tachyonMetrics -
Constructor Summary
ConstructorsConstructorDescriptionGrpcPlayerDataService(BackendStubProvider backendStubProvider, File dataFolder, @Nullable TachyonMetrics tachyonMetrics) -
Method Summary
Modifier and TypeMethodDescriptionvoidflushQueueForPlayer(@NotNull UUID uuid) protected <T> voidhandleGrpcExceptions(@NotNull String actionName, @NotNull tech.skworks.tachyon.libs.io.grpc.StatusRuntimeException ex, CompletableFuture<T> future) boolean@NotNull CompletableFuture<Void> pushProfile(@NotNull TachyonProfile tachyonProfile) voidshutdown()@Nullable PullProfileResponsetryPullProfile(@NotNull UUID uuid) Methods inherited from class AbstractGrpcService
asyncCall, asyncRun, recordError, recordError, startTimer
-
Constructor Details
-
GrpcPlayerDataService
public GrpcPlayerDataService(BackendStubProvider backendStubProvider, File dataFolder, @Nullable @Nullable TachyonMetrics tachyonMetrics)
-
-
Method Details
-
tryPullProfile
- Specified by:
tryPullProfilein interfacePlayerDataService
-
pushProfile
@NotNull public @NotNull CompletableFuture<Void> pushProfile(@NotNull @NotNull TachyonProfile tachyonProfile) - Specified by:
pushProfilein interfacePlayerDataService
-
handleGrpcExceptions
protected <T> void handleGrpcExceptions(@NotNull @NotNull String actionName, @NotNull @NotNull tech.skworks.tachyon.libs.io.grpc.StatusRuntimeException ex, CompletableFuture<T> future) - Specified by:
handleGrpcExceptionsin classAbstractGrpcService
-
flushQueueForPlayer
- Specified by:
flushQueueForPlayerin interfacePlayerDataService
-
shutdown
public void shutdown()- Specified by:
shutdownin classAbstractGrpcService
-
hasRecoveryBinary
public boolean hasRecoveryBinary()
-