public class CounterFactory extends Object implements org.springframework.context.ApplicationEventPublisherAware
Modifier and Type | Field and Description |
---|---|
protected int |
methodHardLimit |
protected int |
objectsReadHardLimit |
protected int |
objectsWrittenHardLimit |
protected org.springframework.context.ApplicationEventPublisher |
publisher |
Constructor and Description |
---|
CounterFactory() |
Modifier and Type | Method and Description |
---|---|
SessionStats |
createStats() |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
Set the ApplicationEventPublisher that this object runs in.
|
void |
setMethodHardLimit(int methodHardLimit) |
void |
setObjectsReadHardLimit(int objectsReadHardLimit) |
void |
setObjectsWrittenHardLimit(int objectsWrittenHardLimit) |
protected org.springframework.context.ApplicationEventPublisher publisher
protected int objectsReadHardLimit
protected int objectsWrittenHardLimit
protected int methodHardLimit
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
org.springframework.context.ApplicationEventPublisherAware
Invoked after population of normal bean properties but before an init callback like InitializingBean's afterPropertiesSet or a custom init-method. Invoked before ApplicationContextAware's setApplicationContext.
setApplicationEventPublisher
in interface org.springframework.context.ApplicationEventPublisherAware
applicationEventPublisher
- event publisher to be used by this objectpublic void setObjectsReadHardLimit(int objectsReadHardLimit)
public void setObjectsWrittenHardLimit(int objectsWrittenHardLimit)
public void setMethodHardLimit(int methodHardLimit)
public SessionStats createStats()
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.