public class IoBufferLazyInitializer extends LazyInitializer<IoBuffer>
LazyInitializer implementation that initializes an
IoBuffer only when needed.| Modifier and Type | Field and Description |
|---|---|
private int |
bufferSize
The buffer size allocated for each new session's buffer.
|
| Constructor and Description |
|---|
IoBufferLazyInitializer(int bufferSize)
Constructor which sets allocated buffer size to
bufferSize. |
| Modifier and Type | Method and Description |
|---|---|
IoBuffer |
init()
Initializes the value.
|
getprivate int bufferSize
public IoBufferLazyInitializer(int bufferSize)
bufferSize.bufferSize - the new buffer sizepublic IoBuffer init()
init in class LazyInitializer<IoBuffer>