We're updating the issue view to help you get more done. 

Improve responsiveness of remote statistics gathering in Admin API

Description

Split locking mechanism of statistics gathering and scheduled gathering of statistics. This should improve the responsiveness of the API when a remote call to get statistics is delayed due to network.

Only one calling thread can gather statistics. Other threads meanwhile get the last cached result, even if cache interval is over. Only when there is no statistics available (first time) then callers will block until calling thread returns with an answer.

Workaround

None

Acceptance Test

test/admin/jvm/VirtualMachineBlockingStatisticsTest.java
test/admin/os/OperatingSystemBlockingStatisticsTest.java
test/admin/pu/statistics/ProcessingUnitInstanceBlockingStatisticsTest.java
test/admin/space/statistics/SpaceInstanceBlockingStatisticsTest.java
test/admin/transport/TransportBlockingStatisticsTest.java

Status

Assignee

Meron Avigdor

Reporter

Meron Avigdor

Labels

None

Priority

Medium

SalesForce Case ID

None

Fix versions

Commitment Version/s

None

Due date

None

Product

XAP

Edition

Premium

Platform

All

Sprint

None