org.apache.james.jspf.executor
Class StagedMultipleSPFExecutor
java.lang.Object
org.apache.james.jspf.executor.StagedMultipleSPFExecutor
- All Implemented Interfaces:
- Runnable, SPFExecutor
public class StagedMultipleSPFExecutor
- extends Object
- implements SPFExecutor, Runnable
Async implementation of SPFExecutor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StagedMultipleSPFExecutor
public StagedMultipleSPFExecutor(Logger log,
DNSAsynchLookupService service)
execute
public void execute(SPFSession session,
FutureSPFResult result)
- Execute the non-blocking part of the processing and returns.
If the working queue is full (50 pending responses) this method will not return
until the queue is again not full.
- Specified by:
execute
in interface SPFExecutor
- See Also:
SPFExecutor.execute(org.apache.james.jspf.core.SPFSession, org.apache.james.jspf.executor.FutureSPFResult)
execute
public void execute(SPFSession session,
FutureSPFResult result,
boolean throttle)
run
public void run()
- Specified by:
run
in interface Runnable
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.