当在EhCache中定义缓存时,我们定义了多个缓存,如员工,部门等。以类似的方式,我们是否在Apache Geode中定义了单独的区域?
来自 About Apache Geode:
缓存是描述 Geode 群集中节点的抽象。
在每个缓存中,定义数据区域。数据区域类似 到关系数据库中的表并管理分布式数据库中的数据 时尚作为名称/值对。
所以是的,作为类比,您可以将Apache Geode Cache
视为EhCache CacheManager
,而Apache Geode Region
为EhCache Cache
。
希望这有帮助。干杯。