[infinispan-dev] Jopr Plugin ...
Heiko W.Rupp
hwr at redhat.com
Sat May 23 16:11:30 EDT 2009
Some fun with the standalone container (http://javablogs.com/Jump.action?id=503502
) below... :-)
Why are the cachesDefined and cachesCreated attributes on the
InfinispanManager Strings?
Heiko
snert:/jon/jonHEAD/rhq/modules/enterprise/agent/target/rhq-agent hrupp
$ bin/standalone.sh
Listening for transport dt_socket at address: 8788
Starting the plugin container.
Loading plugins
...Loaded plugin: Platforms
...Loaded plugin: JMX
...Loaded plugin: infinispan
Ready.
[0]:0 > disc all
Discovery took: 2334ms
[Resource[id=-30, type=Cache, key=org.infinispan:cache-
name=myCustomCache(local),jmx-resource=CacheMgmtInterceptor,
name=org.infinispan:cache-name=myCustomCache(local),jmx-
resource=CacheMgmtInterceptor, parent=Infinispan Manager],
......
[1]:0 > find rt Cache
-30: org.infinispan:cache-name=myCustomCache(local),jmx-
resource=CacheMgmtInterceptor ( Resource[id=-4, type=infinispan,
key=org.infinispan:cache-name=[global],jmx-resource=CacheManager,
name=Infinispan Manager, parent=snert] )
[2]:0 > set r $r
[3]:-30 > i Tx.resetStatistics
[]
[4]:-30 > m m Mgmt.averageWriteTime
No data returned
[5]:-30 > m m Mgmt.averageWriteTime
MeasurementDataNumeric[value=[14,00], MeasurementData
[MeasurementDataPK: timestamp=[23.05.09 22:04], scheduleId=[1]]]
[6]:-30 >
More information about the infinispan-dev
mailing list