EmptyResourceStorage

public class EmptyResourceStorage implements IResourceStorage

Class EmptyResourceStorage. Provides emptyresourcestorage functionality for the Hytale server.

java.lang.Object > EmptyResourceStorage

Field Summary

No fields documented.

Method Detail

get

static EmptyResourceStorage get ()

Method get.

load

public CompletableFuture load (@Nonnull final Store store, @Nonnull final ComponentRegistry.Data data, @Nonnull final ResourceType resourceType)

Method load.

Parameters:
@Nonnull final Store store
@Nonnull final ComponentRegistry.Data data
@Nonnull final ResourceType resourceType

save

public CompletableFuture save (@Nonnull final Store store, @Nonnull final ComponentRegistry.Data data, @Nonnull final ResourceType resourceType, final T resource)

Method save.

Parameters:
@Nonnull final Store store
@Nonnull final ComponentRegistry.Data data
@Nonnull final ResourceType resourceType
final T resource

remove

public CompletableFuture remove (@Nonnull final Store store, @Nonnull final ComponentRegistry.Data data, @Nonnull final ResourceType resourceType)

Method remove.

Parameters:
@Nonnull final Store store
@Nonnull final ComponentRegistry.Data data
@Nonnull final ResourceType resourceType