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 /doc | |
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 'doc')
-rw-r--r-- | doc/reference/libeutil/libeutil-docs.sgml | 1 | ||||
-rw-r--r-- | doc/reference/libeutil/libeutil-sections.txt | 23 | ||||
-rw-r--r-- | doc/reference/libeutil/libeutil.types | 1 |
3 files changed, 25 insertions, 0 deletions
diff --git a/doc/reference/libeutil/libeutil-docs.sgml b/doc/reference/libeutil/libeutil-docs.sgml index 86eeac1b0f..1733a48eea 100644 --- a/doc/reference/libeutil/libeutil-docs.sgml +++ b/doc/reference/libeutil/libeutil-docs.sgml @@ -226,6 +226,7 @@ <xi:include href="xml/e-calendar.xml"/> <xi:include href="xml/e-cell-renderer-color.xml"/> <xi:include href="xml/e-charset-combo-box.xml"/> + <xi:include href="xml/e-client-cache.xml"/> <xi:include href="xml/e-contact-store.xml"/> <xi:include href="xml/e-dateedit.xml"/> <xi:include href="xml/e-destination-store.xml"/> diff --git a/doc/reference/libeutil/libeutil-sections.txt b/doc/reference/libeutil/libeutil-sections.txt index 574db12958..6b5449224e 100644 --- a/doc/reference/libeutil/libeutil-sections.txt +++ b/doc/reference/libeutil/libeutil-sections.txt @@ -1251,6 +1251,29 @@ ECharsetComboBoxPrivate </SECTION> <SECTION> +<FILE>e-client-cache</FILE> +<TITLE>EClientCache</TITLE> +EClientCache +e_client_cache_new +e_client_cache_ref_registry +e_client_cache_get_client_sync +e_client_cache_get_client +e_client_cache_get_client_finish +e_client_cache_ref_cached_client +<SUBSECTION Standard> +E_CLIENT_CACHE +E_IS_CLIENT_CACHE +E_TYPE_CLIENT_CACHE +E_CLIENT_CACHE_CLASS +E_IS_CLIENT_CACHE_CLASS +E_CLIENT_CACHE_GET_CLASS +EClientCacheClass +e_client_cache_get_type +<SUBSECTION Private> +EClientCachePrivate +</SECTION> + +<SECTION> <FILE>e-config</FILE> <TITLE>EConfig</TITLE> EConfig diff --git a/doc/reference/libeutil/libeutil.types b/doc/reference/libeutil/libeutil.types index 83e2108bf1..181231561e 100644 --- a/doc/reference/libeutil/libeutil.types +++ b/doc/reference/libeutil/libeutil.types @@ -53,6 +53,7 @@ e_cell_toggle_get_type e_cell_tree_get_type e_cell_vbox_get_type e_charset_combo_box_get_type +e_client_cache_get_type e_config_get_type e_config_hook_get_type e_contact_store_get_type |