Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Thread pooling

Hi Ronen,

On 4/2/2011 3:33 PM, ronen hamias wrote:
Hi Scott,
 
i am using r_osgi it appears to be on the consumer side
 
while debugging :

org.eclipse.ecf.internal.provider.r_osgi.RemoteServiceImpl

i have found that the callSync uses:

IExecutor executor =

new
ThreadsExecutor();

IFuture future = executor.execute(

new
IProgressRunnable() { public
Object run(IProgressMonitor monitor) throws Exception { final Method method = ClassUtil.getMethod(service.getClass(), call.getMethod(), formalParams); return method.invoke(service, parameters);

}

},

null);

the client uses thread pool as well?


Yes.

can it be controled?


Yes, but it may require some customization/modification of the r-osgi provider. 

Scott



Back to the top