protected virtual IObjectPool <WorkerThread> NewObjectPool() { IBuilder <WorkerThread> builder = ObjectPools.NewObjectPoolConfigBuilder <WorkerThread>(); SetObjectPoolConfigBuilder <IBuilder <WorkerThread> >(builder); return(ObjectPools.NewObjectPool(builder.Build())); }