public static class ManagedBufferPool.ManagedBufferPoolMXBean.PoolInfo extends Object
Information about a single managed pool.
Constructor and Description |
---|
PoolInfo(int created,
int pooled,
int preserved,
int maximum,
int bufferSize)
Instantiates a new pool info.
|
Modifier and Type | Method and Description |
---|---|
int |
getBufferSize()
The size of the buffers in items.
|
int |
getCreated()
The number of buffers created by this pool.
|
int |
getMaximum()
The maximum number of buffers created by this pool.
|
int |
getPooled()
The number of buffers pooled (ready to be acquired).
|
int |
getPreserved()
The number of buffers preserved.
|
@ConstructorProperties(value={"created","pooled","preserved","maximum","bufferSize"}) public PoolInfo(int created, int pooled, int preserved, int maximum, int bufferSize)
Instantiates a new pool info.
created
- the createdpooled
- the pooledpreserved
- the preservedmaximum
- the maximumbufferSize
- the buffer sizepublic int getCreated()
The number of buffers created by this pool.
public int getPooled()
The number of buffers pooled (ready to be acquired).
public int getPreserved()
The number of buffers preserved.
public int getMaximum()
The maximum number of buffers created by this pool.
public int getBufferSize()
The size of the buffers in items.