ehcache主要是轻量级的缓存实现


Ehcache入门经典:第一篇


ehcache.xml

<?xml version="1.0" encoding="UTF-8"?>
<ehcache>

   <diskStore path="G:\\eclipse\\workspace8\\Ehcache\\src\\com\\ij34\\cache" />

   <defaultCache
      maxElementsInMemory="100"
      eternal="true"
      overflowToDisk="true"/>
 
 
     <cache 
      name="a"
      maxElementsInMemory="1" 
      eternal="true"
      overflowToDisk="true" 
      maxElementsOnDisk="0"
      diskPersistent="true"/>
 
</ehcache>
View Code

相关文章:

  • 2021-08-19
  • 2022-01-01
  • 2022-12-23
  • 2022-01-04
  • 2021-06-21
  • 2021-09-10
  • 2022-01-21
猜你喜欢
  • 2021-12-31
  • 2021-05-10
  • 2021-09-28
  • 2022-01-27
  • 2022-12-23
  • 2021-12-06
  • 2021-07-15
相关资源
相似解决方案