Class TiledHttpDataset<T>
java.lang.Object
com.google.common.cache.CacheLoader<net.buildtheearth.terracore.geo.TileLocation,CompletableFuture<T>>
net.buildtheearth.terracore.worldgen.dataset.Dataset<net.buildtheearth.terracore.geo.TileLocation,T>
net.buildtheearth.terracore.worldgen.dataset.TiledDataset<T>
net.buildtheearth.terracore.worldgen.dataset.TiledHttpDataset<T>
- All Implemented Interfaces:
IDataset<net.buildtheearth.terracore.geo.TileLocation,T>
- Direct Known Subclasses:
DoubleTiledDataset
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.cache.CacheLoader
com.google.common.cache.CacheLoader.InvalidCacheLoadException, com.google.common.cache.CacheLoader.UnsupportedLoadingOperationException -
Field Summary
Fields inherited from class net.buildtheearth.terracore.worldgen.dataset.TiledDataset
projection, tileSize -
Constructor Summary
ConstructorsConstructorDescriptionTiledHttpDataset(@NonNull net.buildtheearth.terracore.geo.projection.GeographicProjection projection, double tileSize) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddProperties(int tileX, int tileZ, com.google.common.collect.ImmutableMap.Builder<String, String> builder) protected abstract Tdecode(int tileX, int tileZ, @NonNull io.netty.buffer.ByteBuf data) load(@NonNull net.buildtheearth.terracore.geo.TileLocation pos) protected abstract String[]urls(int tileX, int tileZ) Methods inherited from class net.buildtheearth.terracore.worldgen.dataset.TiledDataset
projection, tileSizeMethods inherited from class com.google.common.cache.CacheLoader
asyncReloading, from, from, loadAll, reload
-
Constructor Details
-
TiledHttpDataset
public TiledHttpDataset(@NonNull @NonNull net.buildtheearth.terracore.geo.projection.GeographicProjection projection, double tileSize)
-
-
Method Details