public class CounterFactory
extends java.lang.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) |
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)
setApplicationEventPublisher
in interface org.springframework.context.ApplicationEventPublisherAware
public void setObjectsReadHardLimit(int objectsReadHardLimit)
public void setObjectsWrittenHardLimit(int objectsWrittenHardLimit)
public void setMethodHardLimit(int methodHardLimit)
public SessionStats createStats()