mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2026-01-04 15:31:38 +00:00
Add option to save data async
This commit is contained in:
@@ -4,6 +4,7 @@ import net.islandearth.rpgregions.managers.data.region.ConfiguredRegion;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
|
||||
public interface IRPGRegionsCache {
|
||||
|
||||
@@ -15,4 +16,6 @@ public interface IRPGRegionsCache {
|
||||
void removeConfiguredRegion(String id);
|
||||
|
||||
Map<String, ConfiguredRegion> getConfiguredRegions();
|
||||
|
||||
CompletableFuture<Boolean> saveAll(boolean async);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user