ome.services.throttling
Class AbstractThrottlingStrategy

java.lang.Object
  extended by ome.services.throttling.AbstractThrottlingStrategy
All Implemented Interfaces:
EventListener, BlitzExecutor, ThrottlingStrategy, org.springframework.context.ApplicationListener
Direct Known Subclasses:
InThreadThrottlingStrategy, SerialThrottlingStrategy

public abstract class AbstractThrottlingStrategy
extends Object
implements ThrottlingStrategy

Throttling implementation which uses the calling server Thread for execution. This mimics the behavior of the pre-AMD blitz.


Field Summary
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
AbstractThrottlingStrategy()
           
 
Method Summary
 void onApplicationEvent(org.springframework.context.ApplicationEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ome.services.blitz.util.BlitzExecutor
callInvokerOnRawArgs, callInvokerWithMappedArgs, runnableCall
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Constructor Detail

AbstractThrottlingStrategy

public AbstractThrottlingStrategy()
Method Detail

onApplicationEvent

public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
Specified by:
onApplicationEvent in interface org.springframework.context.ApplicationListener


OmeroJava Api

Version: Beta-4.1.1-r5927-b91

Copyright © 2009 The University of Dundee. All Rights Reserved.