MCPcopy
hub / github.com/questdb/questdb / ObjectPool

Method ObjectPool

core/src/main/java/io/questdb/std/ObjectPool.java:51–57  ·  view source on GitHub ↗
(@NotNull ObjectFactory<T> factory, int size)

Source from the content-addressed store, hash-verified

49 private int size;
50
51 public ObjectPool(@NotNull ObjectFactory<T> factory, int size) {
52 this.list = new ObjList<>(size);
53 this.factory = factory;
54 this.size = size;
55 this.initialSize = size;
56 fill();
57 }
58
59 @Override
60 public void clear() {

Callers

nothing calls this directly

Calls 1

fillMethod · 0.95

Tested by

no test coverage detected