An open API service indexing awesome lists of open source software.

https://github.com/stazz/resourcepooling

Libraries related to pooling (async) resources - with API providing various pools (non-caching, caching with timeout, etc) and a tidy way to use them.
https://github.com/stazz/resourcepooling

Last synced: 10 months ago
JSON representation

Libraries related to pooling (async) resources - with API providing various pools (non-caching, caching with timeout, etc) and a tidy way to use them.

Awesome Lists containing this project

README

          

[![Build status](https://ci.appveyor.com/api/projects/status/pbbaew65p059kn9u/branch/develop?svg=true)](https://ci.appveyor.com/project/stazz/resourcepooling/branch/develop)

# ResourcePooling

This project contains libraries with APIs and implementations for pools of asynchronous resource.
The resource type is freely parametrizable via interface type parameter, which also has `out` variance.

Various kinds of pools (non-caching, upper-bound-limited, timeouting, etc) can be created via extension methods to `AsyncResourceFactory` interface.
The extension methods are contained in [ResourcePooling.Async.Implementation](Source/Code/ResourcePooling.Async.Implementation) project.

The `AsyncResourceFactory` interface itself typically created by gaining access to `AsyncResourceFactoryProvider` instance and invoking `BindCreationParameters` method; or by dynamically via extension method of `ResourceFactoryDynamicCreationConfiguration`.