ome.services.throttling
Class AbstractThrottlingStrategy
java.lang.Object
ome.services.throttling.AbstractThrottlingStrategy
- All Implemented Interfaces:
- EventListener, BlitzExecutor, ThrottlingStrategy, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener
- Direct Known Subclasses:
- InThreadThrottlingStrategy, SerialThrottlingStrategy
public abstract class AbstractThrottlingStrategy
- extends Object
- implements org.springframework.context.ApplicationContextAware, ThrottlingStrategy
Throttling implementation which uses the calling server Thread
for
execution. This mimics the behavior of the pre-AMD blitz.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.commons.logging.Log log
ctx
protected OmeroContext ctx
AbstractThrottlingStrategy
public AbstractThrottlingStrategy()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
onApplicationEvent
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
- Specified by:
onApplicationEvent
in interface org.springframework.context.ApplicationListener
OmeroJava Api
Version: Beta4.2.1-r8614-Beta4.2-b41
Copyright © 2009 The University of Dundee. All Rights Reserved.