diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-02-12 23:57:19 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-02-17 07:57:08 +0800 |
commit | cefa5edf7f86eacf8c2cdb168ef193f9a8d3a777 (patch) | |
tree | b52bb29c23f756a8b8228e5ff0c6c2ae049c4066 /em-format | |
parent | b55c39cdecd01471c808e7c0e88e8560afa54eab (diff) | |
download | gsoc2013-evolution-cefa5edf7f86eacf8c2cdb168ef193f9a8d3a777.tar gsoc2013-evolution-cefa5edf7f86eacf8c2cdb168ef193f9a8d3a777.tar.gz gsoc2013-evolution-cefa5edf7f86eacf8c2cdb168ef193f9a8d3a777.tar.bz2 gsoc2013-evolution-cefa5edf7f86eacf8c2cdb168ef193f9a8d3a777.tar.lz gsoc2013-evolution-cefa5edf7f86eacf8c2cdb168ef193f9a8d3a777.tar.xz gsoc2013-evolution-cefa5edf7f86eacf8c2cdb168ef193f9a8d3a777.tar.zst gsoc2013-evolution-cefa5edf7f86eacf8c2cdb168ef193f9a8d3a777.zip |
Add EClientCache.
New class to help reduce code duplication and centralize some EClient
handling policies.
Benefits:
- EClient instances can be shared across the entire application.
- Centralized rebroadcasting of "backend-died" and "backend-error"
signals emitted from cached EClient instances.
- Automatic cache invalidation when backends crash. The EClient
is discarded, and a new instance is created on the next request.
Diffstat (limited to 'em-format')
0 files changed, 0 insertions, 0 deletions