Interface MultiClusterStats

All Known Implementing Classes:
MultiClusterStatsRecorder

public interface MultiClusterStats
Read-only per-cluster counters: how many operations went where, how many failed, and how slow each cluster looks. Obtained from MultiClusterGigaSpace.getStats().

Recording is not part of this interface. The proxy writes these counters on the data path and the application reads them; letting application code increment them would corrupt the numbers an operator is watching. The recording side lives in org.openspaces.core.multicluster.internal.MultiClusterStatsRecorder.

The latency figure is an exponentially weighted moving average: it tracks recent behaviour, which is what an operator watching a slow site needs, rather than a lifetime mean that a long-past outage would poison.

Implementations are thread-safe; snapshots are immutable.