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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Sep 17 02:53:18 EDT 2008


Author: ldelima at redhat.com
Date: 2008-09-17 02:53:18 -0400 (Wed, 17 Sep 2008)
New Revision: 78633

Modified:
   projects/docs/enterprise/4.3/Cache/Cache_Tree_Cache_Guide/pt-BR/Cache_loaders.po
Log:
proofread in progress

Modified: projects/docs/enterprise/4.3/Cache/Cache_Tree_Cache_Guide/pt-BR/Cache_loaders.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tree_Cache_Guide/pt-BR/Cache_loaders.po	2008-09-17 06:15:19 UTC (rev 78632)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tree_Cache_Guide/pt-BR/Cache_loaders.po	2008-09-17 06:53:18 UTC (rev 78633)
@@ -9,7 +9,7 @@
 "Project-Id-Version: Cache_loaders\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2008-05-30 04:03+0000\n"
-"PO-Revision-Date: 2008-09-17 14:46+1000\n"
+"PO-Revision-Date: 2008-09-17 16:53+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"
@@ -738,7 +738,8 @@
 "deails."
 msgstr ""
 "Os dois últimos métodos são <literal>loadEntireState()</literal> e "
-"<literal>storeEntireState()</literal>. O primeiro método pede ao CacheLoader para obter "
+"<literal>storeEntireState()</literal>. O primeiro método pede ao CacheLoader para obter o estado por completo, enquanto que o armazenamento backend gerencia e o retorna como um byte "
+"buffer. O segundo método informa o CacheLoader para substituir o próprio estado por completo com o argumento byte buffer. Estes métodos são usados para cenários onde cada nó do JBossCache num cluster possui o próprio armazenamento de dados local, por exemplo: um DB local. Além disso, quando um novo nó inicializar teremos que inicializar o armazenamento backend do mesmo com os conteúdos do armazenamento backend de um usuário existente. Verifique abaixo maiores informações a respeito:"
 
 #. Tag: para
 #: Cache_loaders.xml:71
@@ -752,19 +753,19 @@
 "cache loader of the node that is receiving the state transfer. Partial state "
 "transfers occur when the cache's <literal>activateRegion()</literal> API is "
 "used and during the formation of buddy groups if buddy replication is used."
-msgstr ""
+msgstr "Os métodos <literal>ExtendedCacheLoader</literal> estão também relacionados à transferência de estado. O método <literal>loadState(Fqn)</literal> é chamado quando o cache estiver preparando uma transferência de estado parcial, isto é, a transferência de apenas uma porção do estado do carregador do cache que é enraizado no Fqn gerado. O método <literal>storeState(byte[], Fqn)</literal> é então invocado no carregador do cache do nó que está recebendo a transferência de estado. As transferências do estado parcial ocorrem quando o API de <literal>activateRegion()</literal> do cache é usado e durante a formação de grupos buddy, caso a replicação buddy for usada."
 
 #. Tag: title
 #: Cache_loaders.xml:77
 #, no-c-format
 msgid "Configuration via XML"
-msgstr ""
+msgstr "Configuração através do XML"
 
 #. Tag: para
 #: Cache_loaders.xml:78
 #, no-c-format
 msgid "The CacheLoader is configured as follows in the JBossCache XML file:"
-msgstr ""
+msgstr "O CacheLoader é configurado conforme segue no arquivo JBossCache XML:"
 
 #. Tag: programlisting
 #: Cache_loaders.xml:81
@@ -834,6 +835,69 @@
 "\n"
 "    &lt;/mbean&gt;"
 msgstr ""
+"&lt;!-- ==================================================================== "
+"--&gt;\n"
+"    &lt;!-- Defines TreeCache "
+"configuration                                      --&gt;\n"
+"    &lt;!-- "
+"==================================================================== --&gt;\n"
+"\n"
+"    &lt;mbean code=\"org.jboss.cache.TreeCache\" name=\"jboss.cache:"
+"service=TreeCache\"&gt;\n"
+"\n"
+"        &lt;!-- New 1.3.x cache loader config block --&gt;\n"
+"        &lt;attribute name=\"CacheLoaderConfiguration\"&gt;\n"
+"            &lt;config&gt;\n"
+"                &lt;!-- if passivation is true, only the first cache loader "
+"is used; \n"
+"                the rest are ignored --&gt;\n"
+"                &lt;passivation&gt;false&lt;/passivation&gt;\n"
+"                &lt;!-- comma delimited FQNs to preload --&gt;\n"
+"                &lt;preload&gt;/&lt;/preload&gt;\n"
+"                &lt;!-- are the cache loaders shared in a cluster? --&gt;\n"
+"                &lt;shared&gt;false&lt;/shared&gt;\n"
+"\n"
+"                &lt;!-- we can now have multiple cache loaders, which get "
+"chained --&gt;\n"
+"                &lt;!-- the 'cacheloader' element may be repeated --&gt;\n"
+"                &lt;cacheloader&gt;\n"
+"                    &lt;class&gt;org.jboss.cache.loader.JDBCCacheLoader&lt;/"
+"class&gt;\n"
+"                    &lt;!-- same as the old CacheLoaderConfig attribute --"
+"&gt;\n"
+"                    &lt;properties&gt;\n"
+"                        cache.jdbc.driver=com.mysql.jdbc.Driver\n"
+"                        cache.jdbc.url=jdbc:mysql://localhost:3306/jbossdb\n"
+"                        cache.jdbc.user=root\n"
+"                        cache.jdbc.password=\n"
+"                    &lt;/properties&gt;\n"
+"                    &lt;!-- whether the cache loader writes are asynchronous "
+"--&gt;\n"
+"                    &lt;async&gt;false&lt;/async&gt;\n"
+"                    &lt;!-- only one cache loader in the chain may set "
+"fetchPersistentState \n"
+"                    to true.\n"
+"                        An exception is thrown if more than one cache loader "
+"sets this \n"
+"                        to true. --&gt;\n"
+"                    &lt;fetchPersistentState&gt;true&lt;/"
+"fetchPersistentState&gt;\n"
+"                    &lt;!-- determines whether this cache loader ignores "
+"writes - defaults \n"
+"                    to false. --&gt;\n"
+"                    &lt;ignoreModifications&gt;false&lt;/"
+"ignoreModifications&gt;\n"
+"                    &lt;!-- if set to true, purges the contents of this "
+"cache loader when \n"
+"                    the cache starts up.\n"
+"                    Defaults to false.  --&gt;\n"
+"                    &lt;purgeOnStartup&gt;false&lt;/purgeOnStartup&gt;\n"
+"                &lt;/cacheloader&gt;\n"
+"\n"
+"            &lt;/config&gt;\n"
+"        &lt;/attribute&gt;\n"
+"\n"
+"    &lt;/mbean&gt;"
 
 #. Tag: para
 #: Cache_loaders.xml:82
@@ -844,7 +908,7 @@
 "that this form is <emphasis role=\"deprecated\">DEPRECATED</emphasis> and "
 "you will have to replace your cache loader configuration with a block "
 "similar to the one above."
-msgstr ""
+msgstr "<emphasis role=\"bold\">Note:</emphasis> Nas versões anteriores ao JBossCache 1.3.0, o bloqueio de configuração do carregador do cache costumava a parecer-se com isto. Perceba que esta forma é <emphasis role=\"deprecated\">SUBSTITUÍDA</emphasis> e você terá que substituir a sua configuração do carregador do cache com um bloqueio similar aquele acima."
 
 #. Tag: programlisting
 #: Cache_loaders.xml:86
@@ -878,6 +942,33 @@
 "attribute&gt;\n"
 "    &lt;/mbean&gt;"
 msgstr ""
+"&lt;!-- ==================================================================== "
+"--&gt;\n"
+"    &lt;!-- Defines TreeCache "
+"configuration                                      --&gt;\n"
+"    &lt;!-- "
+"==================================================================== --&gt;\n"
+"\n"
+"    &lt;mbean code=\"org.jboss.cache.TreeCache\" name=\"jboss.cache:"
+"service=TreeCache\"&gt;\n"
+"       &lt;attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader."
+"bdbje.BdbjeCacheLoader\n"
+"       &lt;/attribute&gt;\n"
+"       &lt;!-- attribute name=\"CacheLoaderClass\"&gt;org.jboss.cache.loader."
+"FileCacheLoader\n"
+"       &lt;/attribute --&gt;\n"
+"       &lt;attribute name=\"CacheLoaderConfig\" replace=\"false\"&gt;\n"
+"         location=c:&#92;&#92;tmp&#92;&#92;bdbje\n"
+"       &lt;/attribute&gt;\n"
+"       &lt;attribute name=\"CacheLoaderShared\"&gt;true&lt;/attribute&gt;\n"
+"       &lt;attribute name=\"CacheLoaderPreload\"&gt;/&lt;/attribute&gt;\n"
+"       &lt;attribute name=\"CacheLoaderFetchTransientState\"&gt;false&lt;/"
+"attribute&gt;\n"
+"       &lt;attribute name=\"CacheLoaderFetchPersistentState\"&gt;true&lt;/"
+"attribute&gt;\n"
+"       &lt;attribute name=\"CacheLoaderAsynchronous\"&gt;true&lt;/"
+"attribute&gt;\n"
+"    &lt;/mbean&gt;"
 
 #. Tag: para
 #: Cache_loaders.xml:88
@@ -887,13 +978,13 @@
 "CacheLoader implementation. (Note that, because of a bug in the properties "
 "editor in JBoss, backslashes in variables for Windows filenames might not "
 "get expanded correctly, so replace=\"false\" may be necessary)."
-msgstr ""
+msgstr "O atributo <literal>CacheLoaderClass</literal> define a classe da implementação do CacheLoader. (Perceba que devido a uma bug no editor de propriedades em JBoss, as contra-barras em variáveis para os nomes de arquivo do Windows poderão não estar expandidas corretamente. Desta maneira, o replace=\"false\" poderá ser necessário)."
 
 #. Tag: para
 #: Cache_loaders.xml:91
 #, no-c-format
 msgid "The currently available implementations shipped with JBossCache are:"
-msgstr ""
+msgstr "As atuais implementações disponíveis lançadas com o JBossCache são:"
 
 #. Tag: para
 #: Cache_loaders.xml:96
@@ -903,7 +994,7 @@
 "implementation. The <literal>&lt;cacheloader&gt;&lt;properties&gt;</literal> "
 "element needs to contain a \"location\" property, which maps to a directory "
 "where the file is located (e.g., \"location=c:&#92;&#92;tmp\")."
-msgstr ""
+msgstr "<literal>FileCacheLoader</literal>, que é a implementação de sistema de arquivo baseado simples. O elemento <literal>&lt;cacheloader&gt;&lt;properties&gt;</literal> precisa conter uma propriedade de \"localização\", da qual mapeia a um diretório onde o arquivo é localizado (por exemplo: \"location=c:&#92;&#92;tmp\")."
 
 #. Tag: para
 #: Cache_loaders.xml:101
@@ -915,6 +1006,8 @@
 "which maps to a directory,where the database file for Sleepycat resides (e."
 "g., \"location=c:&#92;&#92;tmp\")."
 msgstr ""
+"<literal>BdbjeCacheLoader</literal>, que é uma implementação CacheLoader baseada na Edição Sleepycat DB Java. O elemento <literal>&lt;cacheloader&gt;&lt;"
+"properties&gt;</literal> precisa conter uma propriedade de \"localização\", que mapeia a um diretório onde o arquivo de banco de dados do Sleepycat reside. (por exemplo: \"location=c:&#92;&#92;tmp\")."
 
 #. Tag: para
 #: Cache_loaders.xml:106
@@ -926,6 +1019,8 @@
 "properties needed to connect to the database such as username, password, and "
 "connection URL. See the section on JDBCCacheLoader for more details."
 msgstr ""
+"<literal>JDBCCacheLoader</literal>, que é uma implementação CacheLoader usando o JDBC para acessar qualquer banco de dados relacional. O elemento <literal>&lt;"
+"cacheloader&gt;&lt;properties&gt;</literal> contém um número de propriedades necessárias para conectar-se ao banco de dados como o nome do usuário, senha e conexão URL. Consulte a seção no JDBCCacheLoader para maiores detalhes referentes a este tópico."
 
 #. Tag: para
 #: Cache_loaders.xml:111




More information about the jboss-cvs-commits mailing list