public class IoBufferLazyInitializer extends LazyInitializer<IoBuffer>
LazyInitializer
implementation that initializes an
IoBuffer
only when needed.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.
|
get
public IoBufferLazyInitializer(int bufferSize)
bufferSize
.bufferSize
- the new buffer sizepublic IoBuffer init()
init
in class LazyInitializer<IoBuffer>
Copyright © 2004–2018 Apache MINA Project. All rights reserved.