|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.grizzly.jruby.RubyRuntimeAsyncFilter
public class RubyRuntimeAsyncFilter
AsyncFilter that park the request if the number of Ruby runtime are all in use.
| Constructor Summary | |
|---|---|
RubyRuntimeAsyncFilter()
Default AsynFilter constructor. |
|
| Method Summary | |
|---|---|
boolean |
doFilter(AsyncExecutor asyncExecutor)
If we know we gonna run out of ruby runtime, suspend the request and release the current thread. |
protected void |
resume()
Resume a request that has been suspended because we run out of ruby runtime. |
protected void |
setRubyRuntimeQueue(BlockingQueue<?> rubyRuntimeQueue)
The current ruby queue from the RubyObjectPool. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RubyRuntimeAsyncFilter()
| Method Detail |
|---|
public boolean doFilter(AsyncExecutor asyncExecutor)
doFilter in interface AsyncFilterasyncExecutor -
protected void setRubyRuntimeQueue(BlockingQueue<?> rubyRuntimeQueue)
rubyRuntimeQueue - protected void resume()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||