Skip to content

Instantly share code, notes, and snippets.

@sharrissf
Created April 20, 2011 20:44
Show Gist options
  • Save sharrissf/932799 to your computer and use it in GitHub Desktop.
Save sharrissf/932799 to your computer and use it in GitHub Desktop.
Configuration config;
FactoryConfiguration factoryConfig = new FactoryConfiguration();
factoryConfig.setClass("org.terracotta.ehcachedx.monitor.probe.ProbePeerListenerFactory");
factoryConfig.setProperties("monitorAddress=localhost, monitorPort=9889");
config.addCacheManagerPeerListenerFactory(factoryConfig);
... and in pom.xml:
<dependency>
<groupId>org.terracotta</groupId>
<artifactId>ehcache-probe</artifactId>
<version>1.0.2</version>
</dependency>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment