MCPcopy Create free account
hub / github.com/questdb/questdb / createFdCacheRecord

Method createFdCacheRecord

core/src/main/java/io/questdb/std/FdCache.java:272–281  ·  view source on GitHub ↗
(Utf8String path, long mmapCacheKey)

Source from the content-addressed store, hash-verified

270 }
271
272 private FdCacheRecord createFdCacheRecord(Utf8String path, long mmapCacheKey) {
273 FdCacheRecord holder = recordPool.pop();
274 if (holder == null) {
275 holder = new FdCacheRecord(path, mmapCacheKey);
276 } else {
277 holder.path = path;
278 holder.mmapCacheKey = mmapCacheKey;
279 }
280 return holder;
281 }
282
283 @Nullable
284 private FdCacheRecord getFdCacheRecord(LPSZ lpsz) {

Callers 1

getFdCacheRecordMethod · 0.95

Calls 1

popMethod · 0.65

Tested by

no test coverage detected