Package org.apache.mina.util
Class LazyInitializer<V>
- java.lang.Object
-
- org.apache.mina.util.LazyInitializer<V>
-
- Type Parameters:
V
- The value type
- Direct Known Subclasses:
IoBufferLazyInitializer
,LazyInitializedCacheMap.NoopInitializer
public abstract class LazyInitializer<V> extends Object
An abstract class which provides semantics for an object which will be only fully initialized when requested to. It allows to avoid loosing time when early initializing unnecessary objects.- Since:
- MINA 2.0.0-M2
- Author:
- Apache MINA Project
-
-
Constructor Summary
Constructors Constructor Description LazyInitializer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description V
get()
abstract V
init()
Initializes the value.
-