public class PoolOfImmortalByteBuffers extends PoolOfLimitedReusableResources
| Constructor and Description | 
|---|
| PoolOfImmortalByteBuffers(int maxNbResources,
                         int allocationSize)Allocate a new pool of Immortals byte buffer resources | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Object | newResource()Allocate a new Immortal byte buffer resource | 
getAllocationSizerelease, reservepublic PoolOfImmortalByteBuffers(int maxNbResources,
                                 int allocationSize)
maxNbResources - a strictly positive integer giving the maximum number of allocated resources,
            or 0 if an unlimited number of resources is allowedallocationSize - size of allocated resources (in bytes). 0 (i.e. unlimited) is not allowed.protected Object newResource()
newResource in class PoolOfReusableResources