| Modifier and Type | Method and Description |
|---|---|
Collection<RegionManager> |
RegionManagerSaver.call() |
Collection<RegionManager> |
RegionManagerReloader.call() |
| Modifier and Type | Method and Description |
|---|---|
void |
RegionManager.load()
Load regions from storage and replace the index on this manager with
the regions loaded from the store.
|
void |
RegionManager.save()
Save a snapshot of all the regions as it is right now to storage.
|
boolean |
RegionManager.saveChanges()
Save changes to the region index to disk, preferring to only save
the changes (rather than the whole index), but choosing to save the
whole index if the underlying store does not support partial saves.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DifferenceSaveException
Thrown when a partial save is not supported.
|
| Modifier and Type | Method and Description |
|---|---|
List<RegionDatabase> |
RegionDriver.getAll()
Fetch all the region databases that have been stored using this driver.
|
Set<ProtectedRegion> |
RegionDatabase.loadAll()
Load all regions from storage and place them into the passed map.
|
void |
RegionDatabase.saveAll(Set<ProtectedRegion> regions)
Replace all the data in the store with the given collection of regions.
|
void |
RegionDatabase.saveChanges(RegionDifference difference)
Perform a partial save that only commits changes, rather than the
entire region index.
|
| Modifier and Type | Method and Description |
|---|---|
List<RegionDatabase> |
DirectoryYamlDriver.getAll() |
Set<ProtectedRegion> |
YamlRegionFile.loadAll() |
void |
YamlRegionFile.saveAll(Set<ProtectedRegion> regions) |
| Modifier and Type | Method and Description |
|---|---|
List<RegionDatabase> |
SQLDriver.getAll() |
Copyright © 2015. All Rights Reserved.