Top Description Methods
io.netty.buffer

public Interface PoolChunkMetric

Known Direct Implementers
io.netty.buffer.PoolChunk

Metrics for a chunk.

Method Summary

Modifier and TypeMethod and Description
public int
chunkSize()

Return the size of the chunk in bytes, this is the maximum of bytes that can be served out of the chunk.

public int
freeBytes()

Return the number of free bytes in the chunk.

public int
usage()

Return the percentage of the current usage of the chunk.

Method Detail

chunkSizeback to summary
public int chunkSize()

Return the size of the chunk in bytes, this is the maximum of bytes that can be served out of the chunk.

freeBytesback to summary
public int freeBytes()

Return the number of free bytes in the chunk.

usageback to summary
public int usage()

Return the percentage of the current usage of the chunk.