Skip navigation links
A B C E F G H I L M P R S T U V W 

A

accept(T, U) - Method in interface cubicchunks.regionlib.util.CheckedBiConsumer
 
accept(T) - Method in interface cubicchunks.regionlib.util.CheckedConsumer
 
addHeaderEntry(IHeaderDataEntryProvider<?, K>) - Method in class cubicchunks.regionlib.lib.Region.Builder
 
addSpecialSectorMapEntry(Object, int, Function<K, ByteBuffer>, BiConsumer<K, ByteBuffer>) - Method in class cubicchunks.regionlib.lib.Region.Builder
Creates a special IntPackedSectorMap entry type, with custom read function.
apply(L) - Method in class cubicchunks.regionlib.impl.header.TimestampHeaderEntryProvider
 
apply(K) - Method in class cubicchunks.regionlib.lib.header.EntryLocationHeaderEntryProvider
 
apply(T) - Method in interface cubicchunks.regionlib.util.CheckedFunction
 

B

build() - Method in class cubicchunks.regionlib.lib.Region.Builder
 
builder() - Static method in class cubicchunks.regionlib.lib.Region
 
Builder() - Constructor for class cubicchunks.regionlib.lib.Region.Builder
 

C

CachedRegionProvider<K extends IKey<K>> - Class in cubicchunks.regionlib.lib.provider
CachedRegionProvider(IRegionProvider<K>, int) - Constructor for class cubicchunks.regionlib.lib.provider.CachedRegionProvider
Deprecated.
Creates a RegionProvider using the given regionFactory and maxCacheSize
CheckedBiConsumer<T,U,E extends java.lang.Throwable> - Interface in cubicchunks.regionlib.util
 
CheckedConsumer<T,E extends java.lang.Throwable> - Interface in cubicchunks.regionlib.util
 
CheckedFunction<T,R,E extends java.lang.Throwable> - Interface in cubicchunks.regionlib.util
 
clearRegions() - Static method in class cubicchunks.regionlib.lib.provider.SharedCachedRegionProvider
 
close() - Method in class cubicchunks.regionlib.api.storage.SaveSection
 
close() - Method in class cubicchunks.regionlib.impl.SaveCubeColumns
 
close() - Method in class cubicchunks.regionlib.lib.ExtRegion
 
close() - Method in class cubicchunks.regionlib.lib.provider.CachedRegionProvider
Deprecated.
 
close() - Method in class cubicchunks.regionlib.lib.provider.SharedCachedRegionProvider
 
close() - Method in class cubicchunks.regionlib.lib.provider.SimpleRegionProvider
 
close() - Method in class cubicchunks.regionlib.lib.Region
 
CorruptedDataException - Exception in cubicchunks.regionlib.util
An exception that is thrown when data can not be read/written do to a format problem.
CorruptedDataException(String) - Constructor for exception cubicchunks.regionlib.util.CorruptedDataException
 
create(Path) - Static method in class cubicchunks.regionlib.impl.SaveCubeColumns
 
create(IKeyProvider<K>, RegionKey) - Method in interface cubicchunks.regionlib.lib.provider.SimpleRegionProvider.RegionFactory
 
createAt(Path, MinecraftSaveSection.MinecraftRegionType) - Static method in class cubicchunks.regionlib.impl.save.MinecraftSaveSection
 
createAt(Path) - Static method in class cubicchunks.regionlib.impl.save.SaveSection2D
 
createAt(Path) - Static method in class cubicchunks.regionlib.impl.save.SaveSection3D
 
createDefault(IKeyProvider<K>, Path, int) - Static method in class cubicchunks.regionlib.lib.provider.SimpleRegionProvider
 
createDirectories(Path) - Static method in class cubicchunks.regionlib.util.Utils
 
cubicchunks.regionlib - package cubicchunks.regionlib
 
cubicchunks.regionlib.api.region - package cubicchunks.regionlib.api.region
 
cubicchunks.regionlib.api.region.header - package cubicchunks.regionlib.api.region.header
 
cubicchunks.regionlib.api.region.key - package cubicchunks.regionlib.api.region.key
 
cubicchunks.regionlib.api.storage - package cubicchunks.regionlib.api.storage
 
cubicchunks.regionlib.impl - package cubicchunks.regionlib.impl
This package contains pre-existing implementations for 2D and 3D storage, and Minecraft chunk storage.
cubicchunks.regionlib.impl.header - package cubicchunks.regionlib.impl.header
 
cubicchunks.regionlib.impl.save - package cubicchunks.regionlib.impl.save
 
cubicchunks.regionlib.lib - package cubicchunks.regionlib.lib
The standard implementation of the library API.
cubicchunks.regionlib.lib.header - package cubicchunks.regionlib.lib.header
 
cubicchunks.regionlib.lib.provider - package cubicchunks.regionlib.lib.provider
 
cubicchunks.regionlib.util - package cubicchunks.regionlib.util
 

E

ENTRIES_PER_REGION - Static variable in class cubicchunks.regionlib.impl.EntryLocation2D
 
ENTRIES_PER_REGION - Static variable in class cubicchunks.regionlib.impl.EntryLocation3D
 
ENTRIES_PER_REGION - Static variable in class cubicchunks.regionlib.impl.MinecraftChunkLocation
 
EntryLocation2D - Class in cubicchunks.regionlib.impl
A 2D implementation of IEntryLocation
EntryLocation2D(int, int) - Constructor for class cubicchunks.regionlib.impl.EntryLocation2D
 
EntryLocation2D.Provider - Class in cubicchunks.regionlib.impl
 
EntryLocation3D - Class in cubicchunks.regionlib.impl
A 3D implementation of IEntryLocation
EntryLocation3D(int, int, int) - Constructor for class cubicchunks.regionlib.impl.EntryLocation3D
 
EntryLocation3D.Provider - Class in cubicchunks.regionlib.impl
 
EntryLocationHeaderEntryProvider<K extends IKey<K>> - Class in cubicchunks.regionlib.lib.header
 
EntryLocationHeaderEntryProvider(IKeyIdToSectorMap<IntHeaderEntry, EntryLocationHeaderEntryProvider<K>, K>, ToIntFunction<RegionEntryLocation>) - Constructor for class cubicchunks.regionlib.lib.header.EntryLocationHeaderEntryProvider
 
equals(Object) - Method in class cubicchunks.regionlib.api.region.key.RegionKey
 
equals(Object) - Method in class cubicchunks.regionlib.impl.EntryLocation2D
 
equals(Object) - Method in class cubicchunks.regionlib.impl.EntryLocation3D
 
equals(Object) - Method in class cubicchunks.regionlib.impl.MinecraftChunkLocation
 
equals(Object) - Method in class cubicchunks.regionlib.lib.RegionEntryLocation
 
ExtRegion<K extends IKey<K>> - Class in cubicchunks.regionlib.lib
 
ExtRegion(Path, List<IHeaderDataEntryProvider<?, K>>, IKeyProvider<K>, RegionKey) - Constructor for class cubicchunks.regionlib.lib.ExtRegion
 

F

flush() - Method in class cubicchunks.regionlib.api.storage.SaveSection
 
flush() - Method in class cubicchunks.regionlib.impl.SaveCubeColumns
 
flush() - Method in class cubicchunks.regionlib.lib.ExtRegion
 
flush() - Method in class cubicchunks.regionlib.lib.provider.CachedRegionProvider
Deprecated.
 
flush() - Method in class cubicchunks.regionlib.lib.provider.SharedCachedRegionProvider
 
flush() - Method in class cubicchunks.regionlib.lib.provider.SimpleRegionProvider
 
flush() - Method in class cubicchunks.regionlib.lib.Region
 
flushRegions() - Static method in class cubicchunks.regionlib.lib.provider.SharedCachedRegionProvider
 
forAllKeys(CheckedConsumer<? super K, IOException>) - Method in class cubicchunks.regionlib.api.storage.SaveSection
Applies the given consumer to all already saved keys.
forAllRegions(CheckedBiConsumer<RegionKey, ? super IRegion<K>, IOException>) - Method in interface cubicchunks.regionlib.api.region.IRegionProvider
Calls the given consumer for all existing region names.
forAllRegions(CheckedBiConsumer<RegionKey, ? super IRegion<K>, IOException>) - Method in class cubicchunks.regionlib.lib.provider.CachedRegionProvider
Deprecated.
 
forAllRegions(CheckedBiConsumer<RegionKey, ? super IRegion<K>, IOException>) - Method in class cubicchunks.regionlib.lib.provider.SharedCachedRegionProvider
 
forAllRegions(CheckedBiConsumer<RegionKey, ? super IRegion<K>, IOException>) - Method in class cubicchunks.regionlib.lib.provider.SimpleRegionProvider
 
forEachKey(CheckedConsumer<? super K, IOException>) - Method in interface cubicchunks.regionlib.api.region.IRegion
Applies the consumer to all existing region keys
forEachKey(CheckedConsumer<? super K, IOException>) - Method in class cubicchunks.regionlib.lib.ExtRegion
 
forEachKey(CheckedConsumer<? super K, IOException>) - Method in class cubicchunks.regionlib.lib.Region
 
forExistingRegion(K, CheckedConsumer<? super IRegion<K>, IOException>) - Method in interface cubicchunks.regionlib.api.region.IRegionProvider
Calls the given function with region at that location and returns value from that function..
forExistingRegion(K, CheckedConsumer<? super IRegion<K>, IOException>) - Method in class cubicchunks.regionlib.lib.provider.CachedRegionProvider
Deprecated.
 
forExistingRegion(K, CheckedConsumer<? super IRegion<K>, IOException>) - Method in class cubicchunks.regionlib.lib.provider.SharedCachedRegionProvider
 
forExistingRegion(K, CheckedConsumer<? super IRegion<K>, IOException>) - Method in class cubicchunks.regionlib.lib.provider.SimpleRegionProvider
 
forRegion(K, CheckedConsumer<? super IRegion<K>, IOException>) - Method in interface cubicchunks.regionlib.api.region.IRegionProvider
Calls the given consumer with region at that location.
forRegion(K, CheckedConsumer<? super IRegion<K>, IOException>) - Method in class cubicchunks.regionlib.lib.provider.CachedRegionProvider
Deprecated.
 
forRegion(K, CheckedConsumer<? super IRegion<K>, IOException>) - Method in class cubicchunks.regionlib.lib.provider.SharedCachedRegionProvider
 
forRegion(K, CheckedConsumer<? super IRegion<K>, IOException>) - Method in class cubicchunks.regionlib.lib.provider.SimpleRegionProvider
 
fromExistingRegion(K, CheckedFunction<? super IRegion<K>, R, IOException>) - Method in interface cubicchunks.regionlib.api.region.IRegionProvider
Calls the given consumer with region at that location.
fromExistingRegion(K, CheckedFunction<? super IRegion<K>, R, IOException>) - Method in class cubicchunks.regionlib.lib.provider.CachedRegionProvider
Deprecated.
 
fromExistingRegion(K, CheckedFunction<? super IRegion<K>, R, IOException>) - Method in class cubicchunks.regionlib.lib.provider.SharedCachedRegionProvider
 
fromExistingRegion(K, CheckedFunction<? super IRegion<K>, R, IOException>) - Method in class cubicchunks.regionlib.lib.provider.SimpleRegionProvider
 
fromFile(SeekableByteChannel, IKeyIdToSectorMap<?, ?, L>, int, int) - Static method in class cubicchunks.regionlib.lib.RegionSectorTracker
 
fromRegion(K, CheckedFunction<? super IRegion<K>, R, IOException>) - Method in interface cubicchunks.regionlib.api.region.IRegionProvider
Calls the given function with region at that location and returns value from that function.
fromRegion(K, CheckedFunction<? super IRegion<K>, R, IOException>) - Method in class cubicchunks.regionlib.lib.provider.CachedRegionProvider
Deprecated.
 
fromRegion(K, CheckedFunction<? super IRegion<K>, R, IOException>) - Method in class cubicchunks.regionlib.lib.provider.SharedCachedRegionProvider
 
fromRegion(K, CheckedFunction<? super IRegion<K>, R, IOException>, boolean) - Method in class cubicchunks.regionlib.lib.provider.SharedCachedRegionProvider
 
fromRegion(K, CheckedFunction<? super IRegion<K>, R, IOException>) - Method in class cubicchunks.regionlib.lib.provider.SimpleRegionProvider
 
fromRegionAndId(RegionKey, int) - Method in interface cubicchunks.regionlib.api.region.key.IKeyProvider
Creates instance of K such that key.getRegionKey().equals(regionKey) && key.getId() == id, or throws IllegalArgumentException when the region key and id pair doesn't represent any key of this type.
fromRegionAndId(RegionKey, int) - Method in class cubicchunks.regionlib.impl.EntryLocation2D.Provider
 
fromRegionAndId(RegionKey, int) - Method in class cubicchunks.regionlib.impl.EntryLocation3D.Provider
 
fromRegionAndId(RegionKey, int) - Method in class cubicchunks.regionlib.impl.MinecraftChunkLocation.Provider
 

G

get() - Method in exception cubicchunks.regionlib.util.WrappedException
 
getCauses() - Method in exception cubicchunks.regionlib.util.SaveSectionException
 
getEntryByteCount() - Method in interface cubicchunks.regionlib.api.region.header.IHeaderDataEntryProvider
 
getEntryByteCount() - Method in class cubicchunks.regionlib.impl.header.TimestampHeaderEntryProvider
 
getEntryByteCount() - Method in class cubicchunks.regionlib.lib.header.EntryLocationHeaderEntryProvider
 
getEntryLocation(K) - Method in interface cubicchunks.regionlib.lib.header.IKeyIdToSectorMap
 
getEntryLocation(int) - Method in interface cubicchunks.regionlib.lib.header.IKeyIdToSectorMap
 
getEntryLocation(int) - Method in class cubicchunks.regionlib.lib.header.IntPackedSectorMap
 
getEntryX() - Method in class cubicchunks.regionlib.impl.EntryLocation2D
 
getEntryX() - Method in class cubicchunks.regionlib.impl.EntryLocation3D
 
getEntryX() - Method in class cubicchunks.regionlib.impl.MinecraftChunkLocation
 
getEntryY() - Method in class cubicchunks.regionlib.impl.EntryLocation3D
 
getEntryZ() - Method in class cubicchunks.regionlib.impl.EntryLocation2D
 
getEntryZ() - Method in class cubicchunks.regionlib.impl.EntryLocation3D
 
getEntryZ() - Method in class cubicchunks.regionlib.impl.MinecraftChunkLocation
 
getExistingRegion(K) - Method in interface cubicchunks.regionlib.api.region.IRegionProvider
Gets an IRegion at a given region key, creates new one if it doesn't exist.
getExistingRegion(K) - Method in class cubicchunks.regionlib.lib.provider.CachedRegionProvider
Deprecated.
 
getExistingRegion(K) - Method in class cubicchunks.regionlib.lib.provider.SharedCachedRegionProvider
 
getExistingRegion(K) - Method in class cubicchunks.regionlib.lib.provider.SimpleRegionProvider
 
getId() - Method in interface cubicchunks.regionlib.api.region.key.IKey
Gets the index of this key in the region associated with this region location The index must be grater than or equal to 0 AND less than IKeyProvider.getKeyCount(RegionKey).
getId() - Method in class cubicchunks.regionlib.impl.EntryLocation2D
 
getId() - Method in class cubicchunks.regionlib.impl.EntryLocation3D
 
getId() - Method in class cubicchunks.regionlib.impl.MinecraftChunkLocation
 
getKeyCount(RegionKey) - Method in interface cubicchunks.regionlib.api.region.key.IKeyProvider
Gets the maximum number of keys within the region.
getKeyCount(RegionKey) - Method in class cubicchunks.regionlib.impl.EntryLocation2D.Provider
 
getKeyCount(RegionKey) - Method in class cubicchunks.regionlib.impl.EntryLocation3D.Provider
 
getKeyCount(RegionKey) - Method in class cubicchunks.regionlib.impl.MinecraftChunkLocation.Provider
 
getName() - Method in class cubicchunks.regionlib.api.region.key.RegionKey
 
getOffset() - Method in class cubicchunks.regionlib.lib.RegionEntryLocation
 
getRegion(K) - Method in interface cubicchunks.regionlib.api.region.IRegionProvider
Gets an IRegion at a given region key, or create one if it does not exist.
getRegion(K) - Method in class cubicchunks.regionlib.lib.provider.CachedRegionProvider
Deprecated.
 
getRegion(K) - Method in class cubicchunks.regionlib.lib.provider.SharedCachedRegionProvider
 
getRegion(K) - Method in class cubicchunks.regionlib.lib.provider.SimpleRegionProvider
 
getRegionKey() - Method in interface cubicchunks.regionlib.api.region.key.IKey
Gets the region's key.
getRegionKey() - Method in class cubicchunks.regionlib.impl.EntryLocation2D
 
getRegionKey() - Method in class cubicchunks.regionlib.impl.EntryLocation3D
 
getRegionKey() - Method in class cubicchunks.regionlib.impl.MinecraftChunkLocation
 
getSaveSection2D() - Method in class cubicchunks.regionlib.impl.SaveCubeColumns
 
getSaveSection3D() - Method in class cubicchunks.regionlib.impl.SaveCubeColumns
 
getSize() - Method in class cubicchunks.regionlib.lib.RegionEntryLocation
 

H

hasEntry(K) - Method in class cubicchunks.regionlib.api.storage.SaveSection
 
hashCode() - Method in class cubicchunks.regionlib.api.region.key.RegionKey
 
hashCode() - Method in class cubicchunks.regionlib.impl.EntryLocation2D
 
hashCode() - Method in class cubicchunks.regionlib.impl.EntryLocation3D
 
hashCode() - Method in class cubicchunks.regionlib.impl.MinecraftChunkLocation
 
hashCode() - Method in class cubicchunks.regionlib.lib.RegionEntryLocation
 
hasValue(K) - Method in interface cubicchunks.regionlib.api.region.IRegion
Returns true if something was stored there before within this region.
hasValue(K) - Method in class cubicchunks.regionlib.lib.ExtRegion
 
hasValue(K) - Method in class cubicchunks.regionlib.lib.Region
Returns true if something was stored there before within this region.
headerEntryProvider() - Method in interface cubicchunks.regionlib.lib.header.IKeyIdToSectorMap
 
headerEntryProvider() - Method in class cubicchunks.regionlib.lib.header.IntPackedSectorMap
 

I

IHeaderDataEntry - Interface in cubicchunks.regionlib.api.region.header
A header entry.
IHeaderDataEntryProvider<H extends IHeaderDataEntry,K extends IKey<K>> - Interface in cubicchunks.regionlib.api.region.header
Supplies IHeaderDataEntry objects by IKey, and provides the necessary metadata (currently entry size)
IKey<K extends IKey<K>> - Interface in cubicchunks.regionlib.api.region.key
Specifies a logical location of a chunk of data (ByteBuffer), and maps the logical location to the region it's stored in (RegionKey), and logical location inside the region (ID).
IKeyIdToSectorMap<H extends IHeaderDataEntry,P extends IHeaderDataEntryProvider<H,K>,K extends IKey<K>> - Interface in cubicchunks.regionlib.lib.header
 
IKeyProvider<K extends IKey<K>> - Interface in cubicchunks.regionlib.api.region.key
Provides metadata about keys and allows creating keys by region name.
IntHeaderEntry - Class in cubicchunks.regionlib.lib.header
 
IntHeaderEntry(int) - Constructor for class cubicchunks.regionlib.lib.header.IntHeaderEntry
 
IntPackedSectorMap<K extends IKey<K>> - Class in cubicchunks.regionlib.lib.header
 
IntPackedSectorMap(int[]) - Constructor for class cubicchunks.regionlib.lib.header.IntPackedSectorMap
 
IntPackedSectorMap(int[], List<IntPackedSectorMap.SpecialSectorMapEntry<K>>) - Constructor for class cubicchunks.regionlib.lib.header.IntPackedSectorMap
 
IntPackedSectorMap.SpecialSectorMapEntry<K extends IKey<K>> - Class in cubicchunks.regionlib.lib.header
 
IRegion<K extends IKey<K>> - Interface in cubicchunks.regionlib.api.region
The low level storage for data, represents it's logical organization.
IRegionProvider<K extends IKey<K>> - Interface in cubicchunks.regionlib.api.region
Provides a by-key access to Regions, also allows to get access to all existing regions.
isSpecial(RegionEntryLocation) - Method in interface cubicchunks.regionlib.lib.header.IKeyIdToSectorMap
 
isSpecial(RegionEntryLocation) - Method in class cubicchunks.regionlib.lib.header.IntPackedSectorMap
 
isValid(RegionKey) - Method in interface cubicchunks.regionlib.api.region.key.IKeyProvider
 
isValid(RegionKey) - Method in class cubicchunks.regionlib.impl.EntryLocation2D.Provider
 
isValid(RegionKey) - Method in class cubicchunks.regionlib.impl.EntryLocation3D.Provider
 
isValid(RegionKey) - Method in class cubicchunks.regionlib.impl.MinecraftChunkLocation.Provider
 
iterator() - Method in class cubicchunks.regionlib.lib.header.IntPackedSectorMap
 

L

load(K, boolean) - Method in class cubicchunks.regionlib.api.storage.SaveSection
Loads/gets a value at a key This Method is thread safe.
load(EntryLocation3D, boolean) - Method in class cubicchunks.regionlib.impl.SaveCubeColumns
Reads entry at given location.
load(EntryLocation2D, boolean) - Method in class cubicchunks.regionlib.impl.SaveCubeColumns
Reads entry at given location.
LOC_BITMASK - Static variable in class cubicchunks.regionlib.impl.EntryLocation2D
 
LOC_BITMASK - Static variable in class cubicchunks.regionlib.impl.MinecraftChunkLocation
 
LOC_BITS - Static variable in class cubicchunks.regionlib.impl.EntryLocation2D
 
LOC_BITS - Static variable in class cubicchunks.regionlib.impl.MinecraftChunkLocation
 

M

MinecraftChunkLocation - Class in cubicchunks.regionlib.impl
 
MinecraftChunkLocation(int, int, String) - Constructor for class cubicchunks.regionlib.impl.MinecraftChunkLocation
 
MinecraftChunkLocation.Provider - Class in cubicchunks.regionlib.impl
 
MinecraftSaveSection - Class in cubicchunks.regionlib.impl.save
 
MinecraftSaveSection(IRegionProvider<MinecraftChunkLocation>) - Constructor for class cubicchunks.regionlib.impl.save.MinecraftSaveSection
Creates a Minecraft save section with a customized IRegionProvider
MinecraftSaveSection.MinecraftRegionType - Enum in cubicchunks.regionlib.impl.save
 

P

printStackTrace(PrintStream) - Method in exception cubicchunks.regionlib.util.SaveSectionException
 
Provider() - Constructor for class cubicchunks.regionlib.impl.EntryLocation2D.Provider
 
Provider() - Constructor for class cubicchunks.regionlib.impl.EntryLocation3D.Provider
 
Provider(String) - Constructor for class cubicchunks.regionlib.impl.MinecraftChunkLocation.Provider
 

R

readFully(ByteChannel, ByteBuffer) - Static method in class cubicchunks.regionlib.util.Utils
Fills the given ByteBuffer with bytes read from the given ByteChannel.
readOrCreate(SeekableByteChannel, int, List<IntPackedSectorMap.SpecialSectorMapEntry<K>>) - Static method in class cubicchunks.regionlib.lib.header.IntPackedSectorMap
 
readOrCreate(SeekableByteChannel, int) - Static method in class cubicchunks.regionlib.lib.header.IntPackedSectorMap
 
readValue(K) - Method in interface cubicchunks.regionlib.api.region.IRegion
Loads a value at a key if there was something stored there before, within this region
readValue(K) - Method in class cubicchunks.regionlib.lib.ExtRegion
 
readValue(K) - Method in class cubicchunks.regionlib.lib.Region
 
Region<K extends IKey<K>> - Class in cubicchunks.regionlib.lib
A basic region implementation
Region.Builder<K extends IKey<K>> - Class in cubicchunks.regionlib.lib
Internal Region builder.
RegionEntryLocation - Class in cubicchunks.regionlib.lib
 
RegionEntryLocation(int, int) - Constructor for class cubicchunks.regionlib.lib.RegionEntryLocation
 
RegionKey - Class in cubicchunks.regionlib.api.region.key
 
RegionKey(String) - Constructor for class cubicchunks.regionlib.api.region.key.RegionKey
 
RegionSectorTracker<K extends IKey<K>> - Class in cubicchunks.regionlib.lib
 
RegionSectorTracker(BitSet, IKeyIdToSectorMap<?, ?, K>) - Constructor for class cubicchunks.regionlib.lib.RegionSectorTracker
 
removeKey(K) - Method in class cubicchunks.regionlib.lib.RegionSectorTracker
 
reserveForKey(K, int) - Method in class cubicchunks.regionlib.lib.RegionSectorTracker
Returns offset for the given key and requestedSize, and reserves these sectors

S

save(K, ByteBuffer) - Method in class cubicchunks.regionlib.api.storage.SaveSection
Saves/puts a value at a key This method is thread safe.
save2d(EntryLocation2D, ByteBuffer) - Method in class cubicchunks.regionlib.impl.SaveCubeColumns
Schedules entry for writing This can be accessed from multiple threads.
save3d(EntryLocation3D, ByteBuffer) - Method in class cubicchunks.regionlib.impl.SaveCubeColumns
Schedules entry for writing This can be accessed from multiple threads.
SaveCubeColumns - Class in cubicchunks.regionlib.impl
A save for 3d and 2d structures, like Cubes and Columns in CubicChunks.
SaveCubeColumns(SaveSection2D, SaveSection3D) - Constructor for class cubicchunks.regionlib.impl.SaveCubeColumns
 
SaveSection<S extends SaveSection<S,K>,K extends IKey<K>> - Class in cubicchunks.regionlib.api.storage
A high level abstraction over the low level region-based storage API.
SaveSection(IRegionProvider<K>) - Constructor for class cubicchunks.regionlib.api.storage.SaveSection
Creates a SaveSection with a customized IRegionProvider
SaveSection(List<IRegionProvider<K>>) - Constructor for class cubicchunks.regionlib.api.storage.SaveSection
Creates a SaveSection with a customized IRegionProviders, with each next RegionProvider used as a fallback in case reading/writing is unsuccessful
SaveSection2D - Class in cubicchunks.regionlib.impl.save
 
SaveSection2D(IRegionProvider<EntryLocation2D>) - Constructor for class cubicchunks.regionlib.impl.save.SaveSection2D
Creates a 2D save section with a customized IRegionProvider
SaveSection2D(IRegionProvider<EntryLocation2D>...) - Constructor for class cubicchunks.regionlib.impl.save.SaveSection2D
Creates a 2D save section with a customized IRegionProvider
SaveSection3D - Class in cubicchunks.regionlib.impl.save
 
SaveSection3D(IRegionProvider<EntryLocation3D>...) - Constructor for class cubicchunks.regionlib.impl.save.SaveSection3D
Creates a 3D save section with a customized IRegionProvider
SaveSectionException - Exception in cubicchunks.regionlib.util
 
SaveSectionException(String, Collection<? extends Throwable>) - Constructor for exception cubicchunks.regionlib.util.SaveSectionException
 
setDirectory(Path) - Method in class cubicchunks.regionlib.lib.Region.Builder
 
setKeyProvider(IKeyProvider<K>) - Method in class cubicchunks.regionlib.lib.Region.Builder
 
setOffsetAndSize(K, RegionEntryLocation) - Method in interface cubicchunks.regionlib.lib.header.IKeyIdToSectorMap
 
setOffsetAndSize(K, RegionEntryLocation) - Method in class cubicchunks.regionlib.lib.header.IntPackedSectorMap
 
setRegionKey(RegionKey) - Method in class cubicchunks.regionlib.lib.Region.Builder
 
setSectorSize(int) - Method in class cubicchunks.regionlib.lib.Region.Builder
 
setSpecial(K, Object) - Method in interface cubicchunks.regionlib.lib.header.IKeyIdToSectorMap
 
setSpecial(K, Object) - Method in class cubicchunks.regionlib.lib.header.IntPackedSectorMap
 
SharedCachedRegionProvider<K extends IKey<K>> - Class in cubicchunks.regionlib.lib.provider
A region caching provider that uses a shared underlying cache for all instances
SharedCachedRegionProvider(IRegionProvider<K>) - Constructor for class cubicchunks.regionlib.lib.provider.SharedCachedRegionProvider
Creates a RegionProvider using the given regionFactory and maxCacheSize
SimpleRegionProvider<K extends IKey<K>> - Class in cubicchunks.regionlib.lib.provider
A simple implementation of IRegionProvider, this is intended to be used together with CachedRegionProvider or other caching implementation
SimpleRegionProvider(IKeyProvider<K>, Path, SimpleRegionProvider.RegionFactory<K>, SimpleRegionProvider.RegionExistsPredicate<K>) - Constructor for class cubicchunks.regionlib.lib.provider.SimpleRegionProvider
 
SimpleRegionProvider.RegionExistsPredicate<K extends IKey<K>> - Interface in cubicchunks.regionlib.lib.provider
 
SimpleRegionProvider.RegionFactory<K extends IKey<K>> - Interface in cubicchunks.regionlib.lib.provider
 
SpecialSectorMapEntry(Object, int, Function<K, ByteBuffer>, BiConsumer<K, ByteBuffer>) - Constructor for class cubicchunks.regionlib.lib.header.IntPackedSectorMap.SpecialSectorMapEntry
 

T

test(Path, K) - Method in interface cubicchunks.regionlib.lib.provider.SimpleRegionProvider.RegionExistsPredicate
 
TimestampHeaderEntryProvider<L extends IKey<L>> - Class in cubicchunks.regionlib.impl.header
Header entry provider that stores a timestamp.
TimestampHeaderEntryProvider(TimeUnit) - Constructor for class cubicchunks.regionlib.impl.header.TimestampHeaderEntryProvider
 
toString() - Method in class cubicchunks.regionlib.impl.EntryLocation2D
 
toString() - Method in class cubicchunks.regionlib.impl.EntryLocation3D
 
toString() - Method in class cubicchunks.regionlib.impl.MinecraftChunkLocation
 
trySpecialValue(K) - Method in interface cubicchunks.regionlib.lib.header.IKeyIdToSectorMap
 
trySpecialValue(K) - Method in class cubicchunks.regionlib.lib.header.IntPackedSectorMap
 

U

UnsupportedDataException - Exception in cubicchunks.regionlib
 
UnsupportedDataException() - Constructor for exception cubicchunks.regionlib.UnsupportedDataException
 
UnsupportedDataException(String) - Constructor for exception cubicchunks.regionlib.UnsupportedDataException
 
UnsupportedDataException(String, Throwable) - Constructor for exception cubicchunks.regionlib.UnsupportedDataException
 
UnsupportedDataException(Throwable) - Constructor for exception cubicchunks.regionlib.UnsupportedDataException
 
Utils - Class in cubicchunks.regionlib.util
 
Utils() - Constructor for class cubicchunks.regionlib.util.Utils
 

V

valueOf(String) - Static method in enum cubicchunks.regionlib.impl.save.MinecraftSaveSection.MinecraftRegionType
Returns the enum constant of this type with the specified name.
values() - Static method in enum cubicchunks.regionlib.impl.save.MinecraftSaveSection.MinecraftRegionType
Returns an array containing the constants of this enum type, in the order they are declared.

W

withSize(int) - Method in class cubicchunks.regionlib.lib.RegionEntryLocation
 
WrappedException - Exception in cubicchunks.regionlib.util
 
WrappedException(Throwable) - Constructor for exception cubicchunks.regionlib.util.WrappedException
 
write(ByteBuffer) - Method in interface cubicchunks.regionlib.api.region.header.IHeaderDataEntry
Writes the header entry data to the provided ByteBuffer.
write(ByteBuffer) - Method in class cubicchunks.regionlib.lib.header.IntHeaderEntry
 
writeFully(ByteChannel, ByteBuffer) - Static method in class cubicchunks.regionlib.util.Utils
Writes the entire contents of the given ByteBuffer to the given ByteChannel.
writeFully(GatheringByteChannel, ByteBuffer[]) - Static method in class cubicchunks.regionlib.util.Utils
Writes the entire contents of all of the given ByteBuffers to the given ByteChannel.
writeSpecial(K, Object) - Method in interface cubicchunks.regionlib.api.region.IRegion
 
writeSpecial(K, Object) - Method in class cubicchunks.regionlib.lib.ExtRegion
 
writeSpecial(K, Object) - Method in class cubicchunks.regionlib.lib.Region
 
writeValue(K, ByteBuffer) - Method in interface cubicchunks.regionlib.api.region.IRegion
Stores a value at a key within this region
writeValue(K, ByteBuffer) - Method in class cubicchunks.regionlib.lib.ExtRegion
 
writeValue(K, ByteBuffer) - Method in class cubicchunks.regionlib.lib.Region
 
A B C E F G H I L M P R S T U V W 
Skip navigation links