Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISPN-6063 Expose cross-site replication attributes via DMR #3948

Closed
wants to merge 1 commit into from

Conversation

pruivo
Copy link
Member

@pruivo pruivo commented Jan 25, 2016

https://issues.jboss.org/browse/ISPN-6063

Exposed per container and per cache the following metrics:
online-sites, offline-sites and mixed-sites. they return a list of site names.

while (iterator.hasNext()) {
CacheXSiteAdminOperation xsiteAdminOperation = iterator.next();
Map<String, SiteStatus> perCacheSiteStatus = xsiteAdminOperation.xSiteAdminOperations.clusterStatus();
for (Map.Entry<String, SiteStatus> siteStatus : perCacheSiteStatus.entrySet()) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perCacheSiteStatus.forEach((siteName, status) -> { ... }); would be nicer to read and more compact

@tristantarrant
Copy link
Member

Pushed, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants