commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Syed Mudassir <>
Subject Apache common pooling 2
Date Tue, 03 Feb 2015 20:20:53 GMT
   I have a question.
   I am using GenericKeyedObjectPool for pooling SFTP sessions. Suppose 
I have one session in the pool.
   Can this session be shared among multiple threads at the same time?
   I mean suppose if there are four threads running parallely, can this 
session be used at the same time by all the four threads simultaneously?
   If it is possible, any sample code to get it done?

View raw message