zoukankan      html  css  js  c++  java
  • Ehcache缓存监控

    监控Ehcache缓存:

    1. 下载:
    http://terracotta.org/downloads/open-source/destination?name=ehcache-monitor-kit-1.0.3-distribution.tar.gz&bucket=tcdistributions&file=ehcache-monitor-kit-1.0.3-distribution.tar.gz

    2. 解压缩到目录下,复制ehcache-monitor-kit-1.0.0libehcache-probe-1.0.0.jar包到application/lib目录下

    3. 将以下配置copy的ehcache.xml文件的ehcache标签中

    1. <cacheManagerPeerListenerFactory
    2. class="org.terracotta.ehcachedx.monitor.probe.ProbePeerListenerFactory"
    3. properties="monitorAddress=localhost, monitorPort=9889" />

    4. 在ehcache-monitor-kit-1.0.0etcehcache-monitor.conf中可以配置监控的ip和端口号。

    5. 启动被监控的web applicationehcache-monitor-kit-1.0.0in目录下的startup.bat(在windows环境下)

    6. 在浏览器中输入 http://localhost:9889/monitor/即可开始监控。

  • 相关阅读:
    Vim使用
    软件测试基础知识
    数字成像系统
    linux操作系统运行学习总结
    python算法学习总结
    Django Rest Framework框架
    mysql学习笔记一
    学习方法
    算法模板汇总
    习题练习1
  • 原文地址:https://www.cnblogs.com/jxldjsn/p/15266564.html
Copyright © 2011-2022 走看看