public class DefaultCoreSessionMonitor extends Object implements CoreSessionMonitor
Modifier and Type | Field and Description |
---|---|
protected com.codahale.metrics.MetricRegistry |
registry |
protected DefaultMonitorComponent.ServerInstance |
self |
NAME
Constructor and Description |
---|
DefaultCoreSessionMonitor() |
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
String[] |
getInfos() |
void |
install() |
String[] |
toInfos(CoreSessionService.CoreSessionRegistrationInfo[] infos) |
CoreSessionService.CoreSessionRegistrationInfo[] |
toSortedRegistration(List<CoreSessionService.CoreSessionRegistrationInfo> infos) |
void |
uninstall() |
protected final com.codahale.metrics.MetricRegistry registry
protected DefaultMonitorComponent.ServerInstance self
public DefaultCoreSessionMonitor()
public int getCount()
getCount
in interface CoreSessionMonitor
public String[] getInfos()
getInfos
in interface CoreSessionMonitor
public CoreSessionService.CoreSessionRegistrationInfo[] toSortedRegistration(List<CoreSessionService.CoreSessionRegistrationInfo> infos)
public String[] toInfos(CoreSessionService.CoreSessionRegistrationInfo[] infos)
Copyright © 2018 Nuxeo. All rights reserved.