Java 类com.hazelcast.config.ListConfig 实例源码

项目:spring-boot-admin    文件:SpringBootAdminApplication.java   
@Bean
public Config hazelcastConfig() {
    return new Config().setProperty("hazelcast.jmx", "true")
                       .addMapConfig(new MapConfig("spring-boot-admin-application-eventstore").setBackupCount(1)
                                                                                              .setEvictionPolicy(
                                                                                                      EvictionPolicy.NONE))
                       .addListConfig(new ListConfig("spring-boot-admin-event-eventstore").setBackupCount(1)
                                                                                          .setMaxSize(1000));
}