com.sun.enterprise.web.connector.grizzly
Interface AsyncFilter
- All Known Implementing Classes:
- CometAsyncFilter
public interface AsyncFilter
An interface marker used to execute operations before
a AsycnProcesssorTask in pre/post or interrupted. Usualy,
implementation of this interface is called by an instance of
AsyncExecutor.
Implementation of this interface must be thread-safe.
- Author:
- Jeanfrancois Arcand
|
Method Summary |
boolean |
doFilter(AsyncExecutor asyncExecutor)
Execute and return true if the next AsyncFilter
can be invoked. |
doFilter
boolean doFilter(AsyncExecutor asyncExecutor)
- Execute and return
true if the next AsyncFilter
can be invoked. Return false to stop calling the
AsyncFilter.
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.