dev@grizzly.java.net

Re: grizzly-1.9.2 : Should I replace Pipeline by ExecutorService ?

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 05 Jan 2009 10:18:46 -0500

Survivant 00 wrote:
> I just found out that the Class Pipeline isn't in Grizzly.
>
> I had this :
>
> Pipeline pipeline = new DefaultPipeline();
> pipeline.setMaxThreads(5);
>
> f_controller.setPipeline(pipeline);
>
>
> should I just remove it from my code ?

http://www.nabble.com/-HEADS-UP--1.9.0%3A-Dropping-the-Pipeline-interface-td20720695.html#a20721914

In short, you can use any ExecutorServices as a thread pool. So yes you
can remove the above lines.

A+

-- Jeanfrancois