ome.services.sessions.stats
Class CounterFactory
java.lang.Object
ome.services.sessions.stats.CounterFactory
- All Implemented Interfaces:
- org.springframework.context.ApplicationEventPublisherAware
public class CounterFactory
- extends Object
- implements org.springframework.context.ApplicationEventPublisherAware
Factory for creating counter objects. Passed to other Spring beans to prevent
constant context lookups.
- Since:
- Beta4
- Author:
- Josh Moore, josh at glencoesoftware.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
publisher
protected org.springframework.context.ApplicationEventPublisher publisher
objectsReadHardLimit
protected int objectsReadHardLimit
objectsWrittenHardLimit
protected int objectsWrittenHardLimit
CounterFactory
public CounterFactory()
setApplicationEventPublisher
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
- Specified by:
setApplicationEventPublisher
in interface org.springframework.context.ApplicationEventPublisherAware
setObjectsReadHardLimit
public void setObjectsReadHardLimit(int objectsReadHardLimit)
setObjectsWrittenHardLimit
public void setObjectsWrittenHardLimit(int objectsWrittenHardLimit)
createStats
public SessionStats createStats()
OmeroJava Api
Version: Beta-4.1.1-r5927-b91
Copyright © 2009 The University of Dundee. All Rights Reserved.