MCPcopy Create free account
hub / github.com/BaseXdb/basex / update

Method update

basex-core/src/main/java/org/basex/index/IndexCache.java:150–153  ·  view source on GitHub ↗

Update an existing index entry. @param entry index entry to update @param size new size @param offset new offset

(final IndexEntry entry, final int size, final long offset)

Source from the content-addressed store, hash-verified

148 * @param offset new offset
149 */
150 private static void update(final IndexEntry entry, final int size, final long offset) {
151 entry.size = size;
152 entry.offset = offset;
153 }
154
155 /**
156 * Deletes a cached entry from the buckets with the specified index.

Callers 1

addMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected