Statistics
| Branch: | Tag: | Revision:

root / snf-common / synnefo / lib @ 09cdd926

Name Size
  middleware
  pool
  singleton
__init__.py 0 Bytes
amqp.py 2.4 kB
amqp_haigha.py 10 kB
amqp_puka.py 13.4 kB
astakos.py 3.7 kB
context_processors.py 2.3 kB
dictconfig.py 22.4 kB
ordereddict.py 4.1 kB
parsedate.py 3.5 kB
queue.py 4.3 kB
utils.py 2.5 kB

Latest revisions

# Date Author Comment
09cdd926 08/24/2012 02:32 pm Vangelis Koukis

Rename ObjectPool methods to pool_{put(), get()}

de67123e 08/04/2012 01:34 am Vangelis Koukis

Support timeout in ObjectPool.get(), fix tests

Support optional timeout argument in ObjectPool.get(),
if supported by the underlying Semaphore implementation.

Implement command-line argument for ObjectPool unit tests to run
inside gevent monkey-patched environment.

749b8b8e 08/03/2012 06:21 pm Vangelis Koukis

Make minor fixes to Singleton class unit tests

45e32a00 08/03/2012 06:16 pm Vangelis Koukis

Add ObjectPool class in synnefo.lib

Add ObjectPool class in synnefo.lib.
The ObjectPool class is an abstract pool of objects,
based on Semaphore locks, as provided by the threading
package.

Tested to work with a gevent-monkey-patched threading package.
Uncomment the relevant lines in pool/tests.py to test with greenlet...

19092a69 07/24/2012 06:47 pm Vangelis Koukis

Implement Singleton pattern

Implement Singleton pattern inside synnefo.lib.singleton.

Whenever a class inherits from ArgBasedSingleton,
attempts to call the class do not always create a new
class instance, but return pre-existing, already made objects.
...

e0b68525 07/10/2012 12:05 pm Christos Stavrakakis

Fix bug in puka client

28f83276 07/09/2012 03:38 pm Kostas Papadimitriou

Merge branch 'simplequotas' into queues+minor_net

25649e21 07/02/2012 05:55 pm Christos Stavrakakis

Redeclare exchanges when reconnecting

9f1bbb33 06/29/2012 08:46 pm Sofia Papagiannaki

Fix authenticate

1055f3c6 06/29/2012 07:24 pm Sofia Papagiannaki

Differentiate Unauthorized astakos response from other error responses

View revisions

Also available in: Atom