我正在使用Apache Ignite 2.8.0。现在禁用了我的持久性,并通过
将我的maxSize设置为400Mib
<property name="dataStorageConfiguration">
<bean class="org.apache.ignite.configuration.DataStorageConfiguration">
<property name="metricsEnabled" value="true"/>
<property name="defaultDataRegionConfiguration">
<bean class="org.apache.ignite.configuration.DataRegionConfiguration">
<property name="metricsEnabled" value="true"/>
<property name="name" value="Default_Region1"/>
<!-- Setting the size of the default region to 4GB. -->
<property name="maxSize" value="#{400L * 1024 * 1024 }"/>
<!--<property name="persistenceEnabled" value="true"/> -->
</bean>
</property>
</bean>
</property>
现在我正在浏览器中运行它,
http://localhost:8080/ignite?cmd=dataregion
这是我对Default_Region1的答复,
{"name":"Default_Region1","totalAllocatedPages":0,"totalUsedPages":0,"totalAllocatedSize":0,"allocationRate":0.0,"evictionRate":0.0,"largeEntriesPagesPercentage":0.0,"pagesFillFactor":0.0,"dirtyPages":0,"physicalMemoryPages":0,"physicalMemorySize":0,"usedCheckpointBufferPages":0,"usedCheckpointBufferSize":0,"checkpointBufferSize":0,"pageSize":4096,"offHeapSize":0,"pagesReplaceRate":0.0,"pagesReplaced":0,"pagesReplaceAge":0.0,"offheapUsedSize":0,"pagesRead":0,"pagesWritten":0}
我在响应中没有找到maxSize为400Mib,如何通过使用http请求获得MaxSize为400Mib?