Uses of Class
org.h2.mvstore.Chunk
Packages that use Chunk
-
Uses of Chunk in org.h2.mvstore
Fields in org.h2.mvstore declared as ChunkFields in org.h2.mvstore with type parameters of type ChunkModifier and TypeFieldDescriptionprivate final ConcurrentHashMap<Integer, Chunk> MVStore.chunksThe map of chunks.MVStore.deadChunksstatic final Comparator<Chunk> Chunk.PositionComparator.INSTANCEMethods in org.h2.mvstore that return ChunkModifier and TypeMethodDescriptionprivate ChunkMVStore.createChunk(long time, long version) private ChunkMVStore.discoverChunk(long block) Discover a valid chunk, searching file backwards from the given blockstatic ChunkChunk.fromString(String s) Build a block from the given string.private ChunkMVStore.getChunk(long pos) Get the chunk for the given position.private ChunkMVStore.getChunkForVersion(long version) private ChunkMVStore.readChunkFooter(long block) Try to read a chunk footer.(package private) static ChunkChunk.readChunkHeader(ByteBuffer buff, long start) Read the header from the byte buffer.private ChunkMVStore.readChunkHeader(long block) private ChunkMVStore.readChunkHeaderAndFooter(long block, int expectedId) Read a chunk header and footer, and verify the stored data is consistent.private ChunkMVStore.readChunkHeaderOptionally(long block) private ChunkMVStore.readChunkHeaderOptionally(long block, int expectedId) Methods in org.h2.mvstore that return types with arguments of type ChunkModifier and TypeMethodDescriptionMVStore.findChunksToMove(long startBlock, long moveSize) MVStore.findOldChunks(int writeLimit, int targetFillRate) Methods in org.h2.mvstore with parameters of type ChunkModifier and TypeMethodDescriptionprivate static booleanMVStore.canOverwriteChunk(Chunk c, long oldestVersionToKeep) intprivate booleanMVStore.findLastChunkWithCompleteValidChunkSet(Chunk[] lastChunkCandidates, Map<Long, Chunk> validChunksByLocation, Map<Integer, Chunk> validChunksById, boolean afterFullScan) private voidMVStore.freeChunkSpace(Chunk chunk) private intMVStore.getMovePriority(Chunk chunk) private long[]private booleanMVStore.isRewritable(Chunk chunk, long time) private booleanMVStore.isSeasonedChunk(Chunk chunk, long time) private booleanMVStore.isWriteStoreHeader(Chunk c, boolean storeAtEndOfFile) private booleanMove specified chunk into free area of the file.private booleanMVStore.moveChunkInside(Chunk chunkToMove, long boundary) private voidMVStore.serializeToBuffer(WriteBuffer buff, ArrayList<Page<?, ?>> changed, Chunk c, long reservedLow, Supplier<Long> reservedHighSupplier) private voidMVStore.setLastChunk(Chunk last) private voidMVStore.storeBuffer(Chunk c, WriteBuffer buff, ArrayList<Page<?, ?>> changed) protected final intPage.write(Chunk chunk, WriteBuffer buff, List<Long> toc) Store the page and update the position.(package private) voidPage.NonLeaf.writeChildrenRecursive(Chunk chunk, WriteBuffer buff, List<Long> toc) (package private) voidPage.IncompleteNonLeaf.writeUnsavedRecursive(Chunk chunk, WriteBuffer buff, List<Long> toc) (package private) voidPage.Leaf.writeUnsavedRecursive(Chunk chunk, WriteBuffer buff, List<Long> toc) (package private) voidPage.NonLeaf.writeUnsavedRecursive(Chunk chunk, WriteBuffer buff, List<Long> toc) (package private) abstract voidPage.writeUnsavedRecursive(Chunk chunk, WriteBuffer buff, List<Long> toc) Store this page and all children that are changed, in reverse order, and update the position and the children.Method parameters in org.h2.mvstore with type arguments of type ChunkModifier and TypeMethodDescriptionprivate voidMVStore.compactMoveChunks(Iterable<Chunk> move) MVStore.createIdSet(Iterable<Chunk> toCompact) private booleanMVStore.findLastChunkWithCompleteValidChunkSet(Chunk[] lastChunkCandidates, Map<Long, Chunk> validChunksByLocation, Map<Integer, Chunk> validChunksById, boolean afterFullScan)