Package org.apache.james.jspf.executor
Class StagedMultipleSPFExecutor
java.lang.Object
org.apache.james.jspf.executor.StagedMultipleSPFExecutor
- All Implemented Interfaces:
Runnable
,SPFExecutor
Async implementation of SPFExecutor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(SPFSession session, FutureSPFResult result) Execute the non-blocking part of the processing and returns.void
execute
(SPFSession session, FutureSPFResult result, boolean throttle) void
run()
-
Constructor Details
-
StagedMultipleSPFExecutor
-
-
Method Details
-
execute
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 interfaceSPFExecutor
- Parameters:
session
-result
-- See Also:
-
execute
-
run
public void run()
-