Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adamretter/akkajaure
Generic Object Pools built on Akka
https://github.com/adamretter/akkajaure
Last synced: 23 days ago
JSON representation
Generic Object Pools built on Akka
- Host: GitHub
- URL: https://github.com/adamretter/akkajaure
- Owner: adamretter
- License: bsd-3-clause
- Created: 2013-08-26T12:08:12.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-26T12:23:42.000Z (about 11 years ago)
- Last Synced: 2024-10-10T16:21:06.057Z (about 1 month ago)
- Language: Scala
- Homepage:
- Size: 113 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Akkajaure
=========Generic Pool built on Akka.
Object pools that are implemented by Akka Actors.
Suitable for many things, including:
* Connection pool (e.g. JDBC or TCP)
* Template pools (e.g. XSLT's javax.xml.transform.Templates)
* Grammar pools (e.g. XML Schema's javax.xml.validation.Schema)We provide two main generic patterns:
* Simple Object Pool (i.e. a pool of N items which may be borrowed and then returned).
* Key-Value Object Pool. Basically a keyed pool of pools. Each Key has its own pool of objects (all objects for all keys must be of the same type).All objects in any type of pool are Items which are one of two types:
* ***ImmortalItem*** An Item that never expires
* ***MortalItem*** An Item that has a specific lifetime