摘要: 步骤: 1.ehcache.xml 参数说明: name:缓存名称,配置缓存时,通过名称来调用缓存; maxElementsOnDisk:磁盘中最大缓存的对象数,值为0表示无穷大; maxElementsInMemory:内存中最大缓存对象数; eternal:是... 阅读全文