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