Class NBufferBundle
java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.newsystem.bufferbundle.NBufferBundle
- All Implemented Interfaces:
MemInstrument
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classNested classes/interfaces inherited from interface com.hypixel.hytale.builtin.hytalegenerator.newsystem.performanceinstruments.MemInstrument
MemInstrument.Report -
Field Summary
FieldsFields inherited from interface com.hypixel.hytale.builtin.hytalegenerator.newsystem.performanceinstruments.MemInstrument
ARRAY_HEADER_SIZE, ARRAYLIST_OBJECT_SIZE, BOOLEAN_SIZE, BYTES_IN_MEGABYTES, CLASS_OBJECT_SIZE, DOUBLE_SIZE, HASHMAP_ENTRY_SIZE, INT_SIZE, OBJECT_HEADER_SIZE, OBJECT_REFERENCE_SIZE, VECTOR3D_SIZE, VECTOR3I_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateBufferAccess(NBufferType bufferType, Bounds3i bounds_bufferGrid) createGrid(NBufferType bufferType, int capacity) private booleanexistingGridHasBufferTypeIndex(int bufferTypeIndex) getGrid(NBufferType contentType)
-
Field Details
-
grids
-
-
Constructor Details
-
NBufferBundle
public NBufferBundle()
-
-
Method Details
-
createGrid
-
createBufferAccess
@Nonnull public NBufferBundle.Access createBufferAccess(@Nonnull NBufferType bufferType, @Nonnull Bounds3i bounds_bufferGrid) -
closeALlAccesses
public void closeALlAccesses() -
getGrid
-
getMemoryUsage
- Specified by:
getMemoryUsagein interfaceMemInstrument
-
existingGridHasBufferTypeIndex
private boolean existingGridHasBufferTypeIndex(int bufferTypeIndex) -
createMemoryReport
-