Constructor and Description |
---|
DefaultMetrics() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Invoked by a BeanFactory after it has set all bean properties supplied
(and satisfied BeanFactoryAware and ApplicationContextAware).
|
Counter |
counter(Object obj,
String name) |
Histogram |
histogram(Object obj,
String name) |
void |
setBeginsWith(Collection<String> prefixes) |
void |
setGraphiteAddress(String address) |
void |
setSlf4jMinutes(int minutes) |
Timer |
timer(Object obj,
String name) |
public void setSlf4jMinutes(int minutes)
public void setBeginsWith(Collection<String> prefixes)
public void setGraphiteAddress(String address)
public void afterPropertiesSet() throws Exception
org.springframework.beans.factory.InitializingBean
This method allows the bean instance to perform initialization only possible when all bean properties have been set and to throw an exception in the event of misconfiguration.
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
- in the event of misconfiguration (such
as failure to set an essential property) or if initialization fails.
Version: 5.1.3-ice35-b52
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.