Groups
Groups
Sign in
Groups
Groups
Hazelcast
Conversations
About
Send feedback
Help
Minor improvement suggestion on configuration
0 views
Skip to first unread message
Atle Prange
unread,
Dec 15, 2009, 3:16:58 AM
12/15/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to haze...@googlegroups.com
Hi,
it would make it a bit easier to configure Hazelcast if the config
objects would have default empty content. So instead of doing:
Config cn = new XmlConfigBuilder().build();
MapStoreConfig mscfg = new MapStoreConfig();
mscfg.setClassName(className);
cn.getMapConfig( "default" ).setMapStoreConfig(mscfg);
We could omit two lines of code by doing:
Config cn = new XmlConfigBuilder().build();
cn.getMapConfig( "default" ).getMapStoreConfig().setClassName(className);
-atle
Reply all
Reply to author
Forward
0 new messages