在启动时未能在hazelcast中急切地初始化地图

时间:2018-06-07 21:35:47

标签: java hazelcast

目前我在hazelcast中有两张地图,它们的配置如下:

        <hz:map name="some-map"
            max-idle-seconds="0"
            time-to-live-seconds="0">
        <hz:map-store enabled="true"
                      initial-mode="EAGER"
                      write-delay-seconds="0"
                      class-name="SomeMapStore">
        </hz:map-store>
        <hz:partition-strategy>com.hazelcast.partition.strategy.DefaultPartitioningStrategy</hz:partition-strategy>
    </hz:map>

我希望hazelcast-beans.xml配置中的initial-mode="EAGER"能够填充hazelcast地图。相反,应用程序进程暂停了一会儿,然后我看到以下错误:

my-service 21:14:15.247Z [hz.my-service-name.SlowOperationDetectorThread] WARN  com.hazelcast.spi.impl.operationexecutor.slowoperationdetector.SlowOperationDetector - [localhost]:8085 [my-service-name-local] [3.9.4] Slow operation detected: com.hazelcast.map.impl.operation.PutTransientOperation

有没有人碰到这个?我在使用hazelcast 3.9.4

0 个答案:

没有答案