Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 396 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 396 Bytes

feeyo-bufferpool

A Java buffer pool implementation

Usage

  <dependency>
	<groupId>com.github.variflight</groupId>
	<artifactId>feeyo-bufferpool</artifactId>
	<version>0.1.2</version>
  </dependency>
	
	
 BufferPool bufferPool = new BucketBufferPool(41943040, 83886080, new int[]{1024, 2048, 4096});
 ByteBuffer theBuf = bufferPool.allocate(500);
 ...
 bufferPool.recycle(theBuf);