Class CmdInfoFlyweightFactory
java.lang.Object
com.iohao.net.framework.core.CmdInfoFlyweightFactory
Factory that produces cached
CmdInfo instances using the flyweight pattern.
The underlying caching strategy is selected at class-load time based on
CmdInfoFlyweightStrategy configured in CoreGlobalConfig.setting.
When the command space exceeds 128 in either dimension the factory automatically
falls back to a Map-based implementation.
- Author:
- 渔民小镇
- date:
- 2021-12-20
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CmdInfoFlyweightFactory
public CmdInfoFlyweightFactory()
-
-
Method Details
-
of
-
of
-