use of org.neo4j.io.bufferpool.impl.NeoBufferPoolConfigOverride in project neo4j by neo4j.
the class AbstractDirectBufferTest method setUp.
@BeforeEach
void setUp() {
var buckets = List.of("1K:1", "2K:1", "4K:1", "8K:1");
var poolConfig = new NeoBufferPoolConfigOverride(Duration.ZERO, buckets);
var bufferManger = new NeoByteBufferPool(poolConfig, new MemoryPools(), null);
tracingPoolWrapper = new TracingPoolWrapper(bufferManger);
nettyBufferAllocator = new NettyMemoryManagerWrapper(tracingPoolWrapper);
}
Aggregations