[jboss-cvs] JBossAS SVN: r77228 - projects/docs/enterprise/4.3/Cache/Cache_FAQ/pt-BR.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Aug 20 02:17:30 EDT 2008


Author: ldelima at redhat.com
Date: 2008-08-20 02:17:29 -0400 (Wed, 20 Aug 2008)
New Revision: 77228

Modified:
   projects/docs/enterprise/4.3/Cache/Cache_FAQ/pt-BR/Cache_Frequently_Asked_Questions.po
Log:
translation ongoing

Modified: projects/docs/enterprise/4.3/Cache/Cache_FAQ/pt-BR/Cache_Frequently_Asked_Questions.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_FAQ/pt-BR/Cache_Frequently_Asked_Questions.po	2008-08-20 06:16:29 UTC (rev 77227)
+++ projects/docs/enterprise/4.3/Cache/Cache_FAQ/pt-BR/Cache_Frequently_Asked_Questions.po	2008-08-20 06:17:29 UTC (rev 77228)
@@ -5,7 +5,7 @@
 "Project-Id-Version: Cache_Frequently_Asked_Questions\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2008-05-30 03:54+0000\n"
-"PO-Revision-Date: 2008-08-20 16:16+1000\n"
+"PO-Revision-Date: 2008-08-20 16:17+1000\n"
 "Last-Translator: Leticia de Lima <ldelima at redhat.com>\n"
 "Language-Team: Brazilian Portuguese <en at li.org>\n"
 "MIME-Version: 1.0\n"
@@ -2008,6 +2008,9 @@
 "different names, you will need to use the class proxy to insert the second "
 "time to ensure both are managed by the cache. Here is the code snippet."
 msgstr ""
+"Let's say you want to assign a <literal>List</literal> object under two "
+"different names, you will need to use the class proxy to insert the second "
+"time to ensure both are managed by the cache. Here is the code snippet."
 
 #. Tag: programlisting
 #: Cache_Frequently_Asked_Questions.xml:1524
@@ -2052,6 +2055,10 @@
 "share the Collection objects, e.g., a <literal>List</literal> instance that "
 "is shared by 2 Pojos?"
 msgstr ""
+"OK, so I know I am supposed to use proxy when manipulating the Collection "
+"classes once they are managed by the cache. But what happens to Pojos that "
+"share the Collection objects, e.g., a <literal>List</literal> instance that "
+"is shared by 2 Pojos?"
 
 #. Tag: para
 #: Cache_Frequently_Asked_Questions.xml:1539
@@ -2062,6 +2069,10 @@
 "dynamically swap out the regular Collection references with the dynamic "
 "proxy ones. As a result, it is transparent to the users."
 msgstr ""
+"Pojos that share Collection instance references will be handled by the cache "
+"automatically. That is, when you ask the Cache to manage it, the Cache will "
+"dynamically swap out the regular Collection references with the dynamic "
+"proxy ones. As a result, it is transparent to the users."
 
 #. Tag: para
 #: Cache_Frequently_Asked_Questions.xml:1550
@@ -2070,6 +2081,8 @@
 "What happens when my \"aspectized\" POJO has field members that are of "
 "Collection class ?"
 msgstr ""
+"What happens when my \"aspectized\" POJO has field members that are of "
+"Collection class ?"
 
 #. Tag: para
 #: Cache_Frequently_Asked_Questions.xml:1556
@@ -2081,6 +2094,11 @@
 "Map), PojoCache will first map the collection into cache. Then, it will swap "
 "out dynamically the field reference with an corresponding proxy reference."
 msgstr ""
+"When a user puts a POJO into the cache through the call <literal>putObject</"
+"literal> , it will recursively map the field members into the cache store as "
+"well. When the field member is of a Collection class (e.g., List, Set, or "
+"Map), PojoCache will first map the collection into cache. Then, it will swap "
+"out dynamically the field reference with an corresponding proxy reference."
 
 #. Tag: para
 #: Cache_Frequently_Asked_Questions.xml:1565
@@ -2089,12 +2107,14 @@
 "This is necessary so that an internal update on the field member will be "
 "intercepted by the cache."
 msgstr ""
+"This is necessary so that an internal update on the field member will be "
+"intercepted by the cache."
 
 #. Tag: para
 #: Cache_Frequently_Asked_Questions.xml:1574
 #, no-c-format
 msgid "What are the limitation of Collection classes in PojoCache?"
-msgstr ""
+msgstr "What are the limitation of Collection classes in PojoCache?"
 
 #. Tag: para
 #: Cache_Frequently_Asked_Questions.xml:1578
@@ -2104,6 +2124,9 @@
 "in your collection fields automatically. However, current implementation has "
 "the follow limitation that we plan to address soon."
 msgstr ""
+"Use of Collection class in PojoCache helps you to track fine-grained changes "
+"in your collection fields automatically. However, current implementation has "
+"the follow limitation that we plan to address soon."
 
 #. Tag: para
 #: Cache_Frequently_Asked_Questions.xml:1582
@@ -2118,6 +2141,14 @@
 "ArrayList implementation. The Map interface maps to java.util.HashMap "
 "implementation."
 msgstr ""
+"Currently, we only support a limited implementation of Collection classes. "
+"That is, we support APIs in List, Set, and Map. However, since the APIs do "
+"not stipulate of constraints like NULL key or value, it makes mapping of "
+"user instance to our proxy tricky. For example, ArrayList would allow NULL "
+"value and some other implementation would not. The Set interface maps to "
+"java.util.HashSet implementation. The List interface maps to java.util."
+"ArrayList implementation. The Map interface maps to java.util.HashMap "
+"implementation."
 
 #. Tag: para
 #: Cache_Frequently_Asked_Questions.xml:1590
@@ -2129,6 +2160,11 @@
 "items to a Set is slower than a List or Map, since Set does not allow "
 "duplicate entries."
 msgstr ""
+"Another related issue is the expected performance. For example, the current "
+"implementation is ordered, so that makes insert/delete from the Collection "
+"slow. Performance between Set, Map and List collections also vary. Adding "
+"items to a Set is slower than a List or Map, since Set does not allow "
+"duplicate entries."
 
 #. Tag: para
 #: Cache_Frequently_Asked_Questions.xml:1604




More information about the jboss-cvs-commits mailing list