Hi,
Using the CLI client one can see the stats of a given cache, along with LockManager info (reduced, but useful).
I would like to access them remotely, but in the exposed Statistics MBean I can't find anything related to LockManager (or RpcManager for that matter).
This is what I'm doing now:
[disconnected//]> connect remoting://192.168.0.71:4547/clustered
[remoting://192.168.0.71:4547/clustered/]> stats employees
Statistics: {
timeSinceReset: 7960
misses: 0
readWriteRatio: 39.09682953532207
statisticsEnabled: true
stores: 88599
numberOfEntries: 1356898
evictions: 0
removeHits: 0
elapsedTime: 100204
averageRemoveTime: 0
removeMisses: 0
averageWriteTime: 3
hits: 3463940
averageReadTime: 0
hitRatio: 1.0
}
CacheLoader: {
cacheLoaderMisses: 0
cacheLoaderLoads: 0
stores: [org.infinispan.persistence.file.SingleFileStore]
statisticsEnabled: true
}
CacheStore: {
writesToTheStores: 3663690
statisticsEnabled: true
}
LockManager: {
concurrencyLevel: 1000
numberOfLocksHeld: 0
numberOfLocksAvailable: 0
}
RpcManager: {
replicationFailures: 1
averageReplicationTime: 1
replicationCount: 2022740
pendingViewAsString: null
successRatioFloatingPoint: 0.9999995056213327
committedViewAsString: ReplicatedConsistentHash{members=[nodeB/clustered, nodeA/clustered, nodeC/clustered], numSegments=60, primaryOwners=[2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}
statisticsEnabled: true
successRatio: 100%
}
Any hints?
Thanks
I had a problem with my jmx connection string setup. LockManager and RpcManager are at the same level as Statistics.