[jbosscache-commits] JBoss Cache SVN: r6978 - enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES.
jbosscache-commits at lists.jboss.org
jbosscache-commits at lists.jboss.org
Fri Oct 17 01:02:32 EDT 2008
Author: mospina
Date: 2008-10-17 01:02:31 -0400 (Fri, 17 Oct 2008)
New Revision: 6978
Modified:
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Basic_api.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Book_Info.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Cache_loaders.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Colophon.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Compatibility.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Configuration.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Eviction_policies.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Jboss_integration.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Replication.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/State_transfer.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Transactions.po
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Treecache_marshaller.po
Log:
translation completed
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Basic_api.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Basic_api.po 2008-10-17 01:49:09 UTC (rev 6977)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Basic_api.po 2008-10-17 05:02:31 UTC (rev 6978)
@@ -1,18 +1,20 @@
+# translation of Basic_api.po to
# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
# Automatically generated, 2007.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Basic_api\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:43+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-10-17 12:17+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: Basic_api.xml:5
@@ -44,6 +46,19 @@
"tree.stopService();\n"
"tree.destroyService(); // not necessary, but is same as MBean lifecycle"
msgstr ""
+"TreeCache tree = new TreeCache();\n"
+"tree.setClusterName(\"demo-cluster\");\n"
+"tree.setClusterProperties(\"default.xml\"); // uses defaults if not "
+"provided\n"
+"tree.setCacheMode(TreeCache.REPL_SYNC);\n"
+"tree.createService(); // not necessary, but is same as MBean lifecycle\n"
+"tree.startService(); // kick start tree cache\n"
+"tree.put(\"/a/b/c\", \"name\", \"Ben\");\n"
+"tree.put(\"/a/b/c/d\", \"uid\", new Integer(322649));\n"
+"Integer tmp = (Integer) tree.get(\"/a/b/c/d\", \"uid\");\n"
+"tree.remove(\"/a/b\");\n"
+"tree.stopService();\n"
+"tree.destroyService(); // not necessary, but is same as MBean lifecycle"
#. Tag: para
#: Basic_api.xml:10
@@ -171,6 +186,8 @@
"String n1 = \"/300/322649\";\n"
"Fqn n2 = new Fqn(new Object{new Integer(300), new Integer(322649)});"
msgstr ""
+"String n1 = \"/300/322649\";\n"
+"Fqn n2 = new Fqn(new Object{new Integer(300), new Integer(322649)});"
#. Tag: para
#: Basic_api.xml:55
@@ -237,3 +254,4 @@
"Since the API may change at any time, we recommend the Javadoc for up-to-"
"date information."
msgstr ""
+
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Book_Info.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Book_Info.po 2008-10-17 01:49:09 UTC (rev 6977)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Book_Info.po 2008-10-17 05:02:31 UTC (rev 6978)
@@ -1,39 +1,42 @@
+# translation of Book_Info.po to
# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
# Automatically generated, 2007.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Book_Info\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:43+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-10-17 14:21+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: Book_Info.xml:5
#, no-c-format
msgid "JBoss Cache Tree Cache Guide"
-msgstr ""
+msgstr "Manual de JBoss Cache Tree Cache"
#. Tag: subtitle
#: Book_Info.xml:6
#, no-c-format
msgid "for Use with JBoss Enterprise Application Platform 4.3"
-msgstr ""
+msgstr "para uso con JBoss Enterprise Application Platform 4.3"
#. Tag: para
#: Book_Info.xml:12
#, no-c-format
msgid "This book is about the JBoss Cache Tree Cache."
-msgstr ""
+msgstr "Este libro aborda JBoss Cache Tree Cache."
#. Tag: holder
#: Book_Info.xml:26
#, no-c-format
msgid "&HOLDER;"
-msgstr ""
+msgstr "&HOLDER;"
+
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Cache_loaders.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Cache_loaders.po 2008-10-17 01:49:09 UTC (rev 6977)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Cache_loaders.po 2008-10-17 05:02:31 UTC (rev 6978)
@@ -1,24 +1,26 @@
+# translation of Cache_loaders.po to
# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
# Automatically generated, 2007.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Cache_loaders\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:43+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-10-17 11:35+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: Cache_loaders.xml:5
#, no-c-format
msgid "Cache Loaders"
-msgstr ""
+msgstr "Cargadores de caché"
#. Tag: para
#: Cache_loaders.xml:6
@@ -27,7 +29,7 @@
"JBoss Cache can use a <emphasis>cache loader</emphasis> to back up the in-"
"memory cache to a backend datastore. If JBoss Cache is configured with a "
"cache loader, then the following features are provided:"
-msgstr ""
+msgstr "JBoss Cache puede utilizar un <emphasis>cargador de caché</emphasis> para respaldar el caché en le memoria en un almacenamiento de datos backend. Si JBoss Cache se configura con un cargador de caché entonces se proporcionan las siguientes características:"
#. Tag: para
#: Cache_loaders.xml:9
@@ -255,6 +257,176 @@
" void storeEntireState(byte[] state) throws Exception;\n"
"}"
msgstr ""
+"public interface CacheLoader extends Service {\n"
+"\n"
+" /**\n"
+" * Sets the configuration. Will be called before {@link #create()} and "
+"{@link #start()}\n"
+" * @param props A set of properties specific to a given CacheLoader\n"
+" */\n"
+" void setConfig(Properties props);\n"
+"\n"
+" void setCache(TreeCache c);\n"
+"\n"
+"\n"
+" /**\n"
+" * Returns a list of children names, all names are <em>relative</"
+"em>. Returns null if \n"
+" * the parent node is not found.\n"
+" * The returned set must not be modified, e.g. use Collections."
+"unmodifiableSet(s) to \n"
+" * return the result\n"
+" * @param fqn The FQN of the parent\n"
+" * @return Set<String>. A list of children. Returns null if no "
+"children nodes are present,\n"
+" * or the parent is not present\n"
+" */\n"
+" Set getChildrenNames(Fqn fqn) throws Exception;\n"
+"\n"
+"\n"
+" /**\n"
+" * Returns the value for a given key. Returns null if the node doesn't "
+"exist, or the value \n"
+" * is not bound\n"
+" */\n"
+" Object get(Fqn name, Object key) throws Exception;\n"
+"\n"
+"\n"
+" /**\n"
+" * Returns all keys and values from the persistent store, given a fully "
+"qualified name.\n"
+" * \n"
+" * NOTE that the expected return value of this method has changed from "
+"JBossCache 1.2.x \n"
+" * and before! This will affect cache loaders written prior to "
+"JBossCache 1.3.0 and such \n"
+" * implementations should be checked for compliance with the behaviour "
+"expected.\n"
+" * \n"
+" * @param name\n"
+" * @return Map<Object,Object> of keys and values for the given "
+"node. Returns null if the \n"
+" * node is not found. If the node is found but has no attributes, this "
+"method returns \n"
+" * an empty Map.\n"
+" * @throws Exception\n"
+" */\n"
+" Map get(Fqn name) throws Exception;\n"
+"\n"
+"\n"
+"\n"
+" /**\n"
+" * Checks whether the CacheLoader has a node with Fqn\n"
+" * @return True if node exists, false otherwise\n"
+" */\n"
+" boolean exists(Fqn name) throws Exception;\n"
+"\n"
+"\n"
+" /**\n"
+" * Inserts key and value into the attributes hashmap of the given node. "
+"If the node does \n"
+" * not exist, all parent nodes from the root down are created "
+"automatically\n"
+" */\n"
+" void put(Fqn name, Object key, Object value) throws Exception;\n"
+"\n"
+" /**\n"
+" * Inserts all elements of attributes into the attributes hashmap of the "
+"given node, \n"
+" * overwriting existing attributes, but not clearing the existing hashmap "
+"before\n"
+" * insertion (making it a union of existing and new attributes)\n"
+" * If the node does not exist, all parent nodes from the root down are "
+"created \n"
+" * automatically\n"
+" * @param name The fully qualified name of the node\n"
+" * @param attributes A Map of attributes. Can be null\n"
+" */\n"
+" void put(Fqn name, Map attributes) throws Exception;\n"
+"\n"
+" /**\n"
+" * Inserts all modifications to the backend store. Overwrite whatever is "
+"already in\n"
+" * the datastore.\n"
+" * @param modifications A List<Modification> of modifications\n"
+" * @throws Exception\n"
+" */\n"
+" void put(List modifications) throws Exception;\n"
+"\n"
+" /** Removes the given key and value from the attributes of the given "
+"node. \n"
+" * No-op if node doesn't exist */\n"
+" void remove(Fqn name, Object key) throws Exception;\n"
+"\n"
+" /**\n"
+" * Removes the given node. If the node is the root of a subtree, this "
+"will recursively \n"
+" * remove all subnodes, depth-first\n"
+" */\n"
+" void remove(Fqn name) throws Exception;\n"
+"\n"
+" /** Removes all attributes from a given node, but doesn't delete the node "
+"itself */\n"
+" void removeData(Fqn name) throws Exception;\n"
+"\n"
+"\n"
+" /**\n"
+" * Prepare the modifications. For example, for a DB-based CacheLoader:\n"
+" * \n"
+" * Create a local (JDBC) transaction\n"
+" * Associate the local transaction with tx (tx is the key)\n"
+" * Execute the coresponding SQL statements against the DB (statements "
+"derived from \n"
+" *modifications)\n"
+" * \n"
+" * For non-transactional CacheLoader (e.g. file-based), this could be a "
+"null operation\n"
+" * @param tx The transaction, just used as a hashmap key\n"
+" * @param modifications List<Modification>, a list of all "
+"modifications within the given \n"
+" * transaction\n"
+" * @param one_phase Persist immediately and (for example) commit the "
+"local JDBC \n"
+" * transaction as well. When true, we won't get a {@link #commit(Object)} "
+"or \n"
+" * {@link #rollback(Object)} method call later\n"
+" */\n"
+" void prepare(Object tx, List modifications, boolean one_phase) throws "
+"Exception;\n"
+"\n"
+" /**\n"
+" * Commit the transaction. A DB-based CacheLoader would look up the local "
+"JDBC transaction \n"
+" * associated with tx and commit that transaction\n"
+" * Non-transactional CacheLoaders could simply write the data that was "
+"previously saved \n"
+" * transiently under the given tx key, to (for example) a file system "
+"(note this only holds if \n"
+" * the previous prepare() did not define one_phase=true\n"
+" */\n"
+" void commit(Object tx) throws Exception;\n"
+"\n"
+" /**\n"
+" * Roll the transaction back. A DB-based CacheLoader would look up the "
+"local JDBC \n"
+" * transaction associated with tx and roll back that transaction\n"
+" */\n"
+" void rollback(Object tx);\n"
+"\n"
+" /**\n"
+" * Fetch the entire state for this cache from secondary storage (disk, "
+"DB) and return\n"
+" * it as a byte buffer. This is for initialization of a new cache from a "
+"remote cache. \n"
+" * The new cache would then call storeEntireState()\n"
+" * todo: define binary format for exchanging state\n"
+" */\n"
+" byte[] loadEntireState() throws Exception;\n"
+"\n"
+" /** Store the given state in secondary storage. Overwrite whatever is "
+"currently in storage */\n"
+" void storeEntireState(byte[] state) throws Exception;\n"
+"}"
#. Tag: para
#: Cache_loaders.xml:26
@@ -343,6 +515,65 @@
"\n"
"}"
msgstr ""
+"public interface ExtendedCacheLoader extends CacheLoader\n"
+"{\n"
+" /**\n"
+" * Fetch a portion of the state for this cache from secondary storage \n"
+" * (disk, DB) and return it as a byte buffer.\n"
+" * This is for activation of a portion of new cache from a remote "
+"cache. \n"
+" * The new cache would then call {@link #storeState(byte[], Fqn)}.\n"
+" * \n"
+" * @param subtree Fqn naming the root (i.e. highest level parent) node "
+"of\n"
+" * the subtree for which state is requested.\n"
+" * \n"
+" * @see org.jboss.cache.TreeCache#activateRegion(String)\n"
+" */\n"
+" byte[] loadState(Fqn subtree) throws Exception;\n"
+" \n"
+" /**\n"
+" * Store the given portion of the cache tree's state in secondary "
+"storage. \n"
+" * Overwrite whatever is currently in secondary storage. If the "
+"transferred \n"
+" * state has Fqns equal to or children of parameter <code>subtree</"
+"code>, \n"
+" * then no special behavior is required. Otherwise, ensure that\n"
+" * the state is integrated under the given 'subtree'. Typically\n"
+" * in the latter case 'subtree' would be the Fqn of the buddy \n"
+" * backup region for a buddy group; e.g.\n"
+" * \n"
+" * If the the transferred state had Fqns starting with \"/a\" and\n"
+" * 'subtree' was \"/_BUDDY_BACKUP_/192.168.1.2:5555\" then the\n"
+" * state should be stored in the local persistent store under\n"
+" * \"/_BUDDY_BACKUP_/192.168.1.2:5555/a\"\n"
+" * \n"
+" * @param state the state to store\n"
+" * @param subtree Fqn naming the root (i.e. highest level parent) node "
+"of\n"
+" * the subtree included in 'state'. If the Fqns \n"
+" * of the data included in 'state' are not \n"
+" * already children of 'subtree', then their\n"
+" * Fqns should be altered to make them children of \n"
+" * 'subtree' before they are persisted.\n"
+" */ \n"
+" void storeState(byte[] state, Fqn subtree) throws Exception;\n"
+" \n"
+" /**\n"
+" * Sets the {@link RegionManager} this object should use to manage \n"
+" * marshalling/unmarshalling of different regions using different\n"
+" * classloaders.\n"
+" *\n"
+" * NOTE: This method is only intended to be used by the TreeCache "
+"instance \n"
+" * this cache loader is associated with.\n"
+" * \n"
+" * @param manager the region manager to use, or <code>null</code>.\n"
+" */\n"
+" void setRegionManager(RegionManager manager);\n"
+"\n"
+"}"
#. Tag: para
#: Cache_loaders.xml:33
@@ -399,6 +630,15 @@
" void destroy();\n"
"}"
msgstr ""
+"public interface Service {\n"
+" void create() throws Exception;\n"
+"\n"
+" void start() throws Exception;\n"
+"\n"
+" void stop();\n"
+"\n"
+" void destroy();\n"
+"}"
#. Tag: para
#: Cache_loaders.xml:45
@@ -577,6 +817,69 @@
"\n"
" </mbean>"
msgstr ""
+"<!-- ==================================================================== "
+"-->\n"
+" <!-- Defines TreeCache "
+"configuration -->\n"
+" <!-- "
+"==================================================================== -->\n"
+"\n"
+" <mbean code=\"org.jboss.cache.TreeCache\" name=\"jboss.cache:"
+"service=TreeCache\">\n"
+"\n"
+" <!-- New 1.3.x cache loader config block -->\n"
+" <attribute name=\"CacheLoaderConfiguration\">\n"
+" <config>\n"
+" <!-- if passivation is true, only the first cache loader "
+"is used; \n"
+" the rest are ignored -->\n"
+" <passivation>false</passivation>\n"
+" <!-- comma delimited FQNs to preload -->\n"
+" <preload>/</preload>\n"
+" <!-- are the cache loaders shared in a cluster? -->\n"
+" <shared>false</shared>\n"
+"\n"
+" <!-- we can now have multiple cache loaders, which get "
+"chained -->\n"
+" <!-- the 'cacheloader' element may be repeated -->\n"
+" <cacheloader>\n"
+" <class>org.jboss.cache.loader.JDBCCacheLoader</"
+"class>\n"
+" <!-- same as the old CacheLoaderConfig attribute --"
+">\n"
+" <properties>\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"
+" </properties>\n"
+" <!-- whether the cache loader writes are asynchronous "
+"-->\n"
+" <async>false</async>\n"
+" <!-- 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. -->\n"
+" <fetchPersistentState>true</"
+"fetchPersistentState>\n"
+" <!-- determines whether this cache loader ignores "
+"writes - defaults \n"
+" to false. -->\n"
+" <ignoreModifications>false</"
+"ignoreModifications>\n"
+" <!-- if set to true, purges the contents of this "
+"cache loader when \n"
+" the cache starts up.\n"
+" Defaults to false. -->\n"
+" <purgeOnStartup>false</purgeOnStartup>\n"
+" </cacheloader>\n"
+"\n"
+" </config>\n"
+" </attribute>\n"
+"\n"
+" </mbean>"
#. Tag: para
#: Cache_loaders.xml:77
@@ -621,6 +924,33 @@
"attribute>\n"
" </mbean>"
msgstr ""
+"<!-- ==================================================================== "
+"-->\n"
+" <!-- Defines TreeCache "
+"configuration -->\n"
+" <!-- "
+"==================================================================== -->\n"
+"\n"
+" <mbean code=\"org.jboss.cache.TreeCache\" name=\"jboss.cache:"
+"service=TreeCache\">\n"
+" <attribute name=\"CacheLoaderClass\">org.jboss.cache.loader."
+"bdbje.BdbjeCacheLoader\n"
+" </attribute>\n"
+" <!-- attribute name=\"CacheLoaderClass\">org.jboss.cache.loader."
+"FileCacheLoader\n"
+" </attribute -->\n"
+" <attribute name=\"CacheLoaderConfig\" replace=\"false\">\n"
+" location=c:\\tmp\\bdbje\n"
+" </attribute>\n"
+" <attribute name=\"CacheLoaderShared\">true</attribute>\n"
+" <attribute name=\"CacheLoaderPreload\">/</attribute>\n"
+" <attribute name=\"CacheLoaderFetchTransientState\">false</"
+"attribute>\n"
+" <attribute name=\"CacheLoaderFetchPersistentState\">true</"
+"attribute>\n"
+" <attribute name=\"CacheLoaderAsynchronous\">true</"
+"attribute>\n"
+" </mbean>"
#. Tag: para
#: Cache_loaders.xml:83
@@ -914,8 +1244,7 @@
#. Tag: para
#: Cache_loaders.xml:180
#, no-c-format
-msgid ""
-"The following figure shows 2 JBossCache nodes sharing the same backend store:"
+msgid "The following figure shows 2 JBossCache nodes sharing the same backend store:"
msgstr ""
#. Tag: title
@@ -1111,6 +1440,26 @@
"// start firstLevel\n"
"firstLevel.startService();"
msgstr ""
+"TreeCache firstLevel, secondLevel;\n"
+"LocalDelegatingCacheLoader cache_loader;\n"
+"\n"
+"// create and configure firstLevel\n"
+"firstLevel=new TreeCache();\n"
+"\n"
+"// create and configure secondLevel\n"
+"secondLevel=new TreeCache();\n"
+"\n"
+"// create DelegatingCacheLoader\n"
+"cache_loader=new LocalDelegatingCacheLoader(secondLevel);\n"
+"\n"
+"// set CacheLoader in firstLevel\n"
+"firstLevel.setCacheLoader(cache_loader);\n"
+"\n"
+"// start secondLevel\n"
+"secondLevel.startService();\n"
+"\n"
+"// start firstLevel\n"
+"firstLevel.startService();"
#. Tag: para
#: Cache_loaders.xml:276
@@ -1170,6 +1519,45 @@
"...\n"
"</mbean>"
msgstr ""
+"<!-- ==================================================================== "
+"-->\n"
+"<!-- Defines TreeCache configuration "
+"-->\n"
+"<!-- ==================================================================== "
+"-->\n"
+"\n"
+"<mbean code=\"org.jboss.cache.TreeCache\" name=\"jboss.cache:"
+"service=TreeCache\">\n"
+"...\n"
+"<attribute name=\"CacheLoaderConfiguration\">\n"
+" <config>\n"
+" <passivation>false</passivation>\n"
+" <preload>/some/stuff</preload>\n"
+" <cacheloader>\n"
+" <class>org.jboss.cache.loader.RpcDelegatingCacheLoader</"
+"class>\n"
+" <!-- whether the cache loader writes are asynchronous -->\n"
+" <async>false</async>\n"
+" <!-- only one cache loader in the chain may set "
+"fetchPersistentState to true.\n"
+" An exception is thrown if more than one cache loader sets "
+"this to true. \n"
+" -->\n"
+" <fetchPersistentState>false</fetchPersistentState>\n"
+" <!-- determines whether this cache loader ignores writes - "
+"defaults to false. \n"
+" -->\n"
+" <ignoreModifications>false</ignoreModifications>\n"
+" <!-- if set to true, purges the contents of this cache loader "
+"when \n"
+" the cache starts up.\n"
+" Defaults to false. -->\n"
+" <purgeOnStartup>false</purgeOnStartup>\n"
+" </cacheloader>\n"
+" </config>\n"
+"</attribute>\n"
+"...\n"
+"</mbean>"
#. Tag: para
#: Cache_loaders.xml:280
@@ -1184,7 +1572,7 @@
#: Cache_loaders.xml:286
#, no-c-format
msgid "TcpDelegatingCacheLoader"
-msgstr ""
+msgstr "TcpDelegatingCacheLoader"
#. Tag: para
#: Cache_loaders.xml:287
@@ -1218,8 +1606,7 @@
#. Tag: para
#: Cache_loaders.xml:296
#, no-c-format
-msgid ""
-"An example set of a TcpCacheServer running inside of JBoss is shown below:"
+msgid "An example set of a TcpCacheServer running inside of JBoss is shown below:"
msgstr ""
#. Tag: programlisting
@@ -1245,6 +1632,24 @@
"\n"
"</server>"
msgstr ""
+"<server>\n"
+"\n"
+" <classpath codebase=\"./lib\" archives=\"jboss-cache.jar\"/>\n"
+"\n"
+" <mbean code=\"org.jboss.cache.loader.tcp.TcpCacheServer\" \n"
+" name=\"jboss.cache:service=TcpCacheServer\">\n"
+" <depends optional-attribute-name=\"Cache\"\n"
+" proxy-type=\"attribute\">jboss.cache:service=TreeCache</"
+"depends>\n"
+" <attribute name=\"BindAddress\">${jboss.bind.address:"
+"localhost}</attribute>\n"
+" <attribute name=\"Port\">7500</attribute>\n"
+" <attribute name=\"MBeanServerName\"></attribute>\n"
+" <!--<attribute name=\"CacheName\">jboss.cache:"
+"service=TreeCache</attribute>-->\n"
+" </mbean>\n"
+"\n"
+"</server>"
#. Tag: para
#: Cache_loaders.xml:300
@@ -1289,6 +1694,18 @@
" </config>\n"
"</attribute>"
msgstr ""
+"<attribute name=\"CacheLoaderConfiguration\">\n"
+" <config>\n"
+" <cacheloader>\n"
+" <class>org.jboss.cache.loader.tcp."
+"TcpDelegatingCacheLoader</class>\n"
+" <properties>\n"
+" host=localhost\n"
+" port=7500\n"
+" </properties>\n"
+" </cacheloader>\n"
+" </config>\n"
+"</attribute>"
#. Tag: para
#: Cache_loaders.xml:310
@@ -1329,7 +1746,7 @@
#: Cache_loaders.xml:322
#, no-c-format
msgid "RmiDelegatingCacheLoader"
-msgstr ""
+msgstr "RmiDelegatingCacheLoader"
#. Tag: para
#: Cache_loaders.xml:323
@@ -1361,8 +1778,7 @@
#. Tag: para
#: Cache_loaders.xml:332
#, no-c-format
-msgid ""
-"An example set of an RmiCacheServer running inside of JBoss is shown below:"
+msgid "An example set of an RmiCacheServer running inside of JBoss is shown below:"
msgstr ""
#. Tag: programlisting
@@ -1391,6 +1807,27 @@
"\n"
"</server>"
msgstr ""
+"<server>\n"
+"\n"
+" <classpath codebase=\"./lib\" archives=\"jboss-cache.jar\"/>\n"
+"\n"
+" <mbean code=\"org.jboss.cache.loader.rmi.RmiCacheServer\" \n"
+" name=\"jboss.cache:service=RmiCacheServer\">\n"
+" <depends optional-attribute-name=\"Cache\"\n"
+" proxy-type=\"attribute\">jboss.cache:service=TreeCache</"
+"depends>\n"
+" <!-- the address and port of the RMI server. -->\n"
+" <attribute name=\"BindAddress\">${jboss.bind.address:"
+"localhost}</attribute>\n"
+" <attribute name=\"Port\">1098</attribute>\n"
+" <attribute name=\"BindName\">MyRmiCacheServer</"
+"attribute>\n"
+" <attribute name=\"MBeanServerName\"></attribute>\n"
+" <!--<attribute name=\"CacheName\">jboss.cache:"
+"service=TreeCache</attribute>-->\n"
+" </mbean>\n"
+"\n"
+"</server>"
#. Tag: para
#: Cache_loaders.xml:336
@@ -1431,6 +1868,19 @@
" </config>\n"
"</attribute>"
msgstr ""
+"<attribute name=\"CacheLoaderConfiguration\">\n"
+" <config>\n"
+" <cacheloader>\n"
+" <class>org.jboss.cache.loader.RmiDelegatingCacheLoader</"
+"class>\n"
+" <properties>\n"
+" host=localhost\n"
+" port=1098\n"
+" name=MyRmiCacheServer\n"
+" </properties>\n"
+" </cacheloader>\n"
+" </config>\n"
+"</attribute>"
#. Tag: para
#: Cache_loaders.xml:346
@@ -1639,8 +2089,7 @@
#. Tag: para
#: Cache_loaders.xml:430
#, no-c-format
-msgid ""
-"<emphasis>cache.jdbc.driver</emphasis> - fully qualified JDBC driver name."
+msgid "<emphasis>cache.jdbc.driver</emphasis> - fully qualified JDBC driver name."
msgstr ""
#. Tag: para
@@ -1652,8 +2101,7 @@
#. Tag: para
#: Cache_loaders.xml:436
#, no-c-format
-msgid ""
-"<emphasis>cache.jdbc.user</emphasis> - user name to connect to the database."
+msgid "<emphasis>cache.jdbc.user</emphasis> - user name to connect to the database."
msgstr ""
#. Tag: para
@@ -1726,6 +2174,48 @@
" </config>\n"
"</attribute>"
msgstr ""
+"<attribute name=\"CacheLoaderConfiguration\">\n"
+" <config>\n"
+" <passivation>false</passivation>\n"
+" <preload>/some/stuff</preload>\n"
+" <cacheloader>\n"
+" <class>org.jboss.cache.loader.JDBCCacheLoader</"
+"class>\n"
+" <!-- same as the old CacheLoaderConfig attribute -->\n"
+" <properties>\n"
+" cache.jdbc.table.name=jbosscache\n"
+" cache.jdbc.table.create=true\n"
+" cache.jdbc.table.drop=true\n"
+" cache.jdbc.table.primarykey=jbosscache_pk\n"
+" cache.jdbc.fqn.column=fqn\n"
+" cache.jdbc.fqn.type=varchar(255)\n"
+" cache.jdbc.node.column=node\n"
+" cache.jdbc.node.type=blob\n"
+" cache.jdbc.parent.column=parent\n"
+" cache.jdbc.driver=oracle.jdbc.OracleDriver\n"
+" cache.jdbc.url=jdbc:oracle:thin:@localhost:1521:JBOSSDB\n"
+" cache.jdbc.user=SCOTT\n"
+" cache.jdbc.password=TIGER\n"
+" </properties>\n"
+" <!-- whether the cache loader writes are asynchronous -->\n"
+" <async>false</async>\n"
+" <!-- only one cache loader in the chain may set "
+"fetchPersistentState to true.\n"
+" An exception is thrown if more than one cache loader sets "
+"this to true. \n"
+" -->\n"
+" <fetchPersistentState>true</fetchPersistentState>\n"
+" <!-- determines whether this cache loader ignores writes - "
+"defaults to false. \n"
+" -->\n"
+" <ignoreModifications>false</ignoreModifications>\n"
+" <!-- if set to true, purges the contents of this cache loader "
+"when the cache \n"
+" starts up. Defaults to false. -->\n"
+" <purgeOnStartup>false</purgeOnStartup>\n"
+" </cacheloader>\n"
+" </config>\n"
+"</attribute>"
#. Tag: para
#: Cache_loaders.xml:453
@@ -1770,3 +2260,34 @@
" </config>\n"
"</attribute>"
msgstr ""
+"<attribute name=\"CacheLoaderConfiguration\">\n"
+" <config>\n"
+" <passivation>false</passivation>\n"
+" <preload>/some/stuff</preload>\n"
+" <cacheloader>\n"
+" <class>org.jboss.cache.loader.JDBCCacheLoader</"
+"class>\n"
+" <!-- same as the old CacheLoaderConfig attribute -->\n"
+" <properties>\n"
+" cache.jdbc.datasource=java:/DefaultDS\n"
+" </properties>\n"
+" <!-- whether the cache loader writes are asynchronous -->\n"
+" <async>false</async>\n"
+" <!-- only one cache loader in the chain may set "
+"fetchPersistentState to true.\n"
+" An exception is thrown if more than one cache loader sets "
+"this to true. \n"
+" -->\n"
+" <fetchPersistentState>true</fetchPersistentState>\n"
+" <!-- determines whether this cache loader ignores writes - "
+"defaults to false. \n"
+" -->\n"
+" <ignoreModifications>false</ignoreModifications>\n"
+" <!-- if set to true, purges the contents of this cache loader "
+"when the cache \n"
+" starts up. Defaults to false. -->\n"
+" <purgeOnStartup>false</purgeOnStartup>\n"
+" </cacheloader>\n"
+" </config>\n"
+"</attribute>"
+
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Colophon.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Colophon.po 2008-10-17 01:49:09 UTC (rev 6977)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Colophon.po 2008-10-17 05:02:31 UTC (rev 6978)
@@ -1,26 +1,28 @@
+# translation of Colophon.po to
msgid ""
msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
+"Project-Id-Version: Colophon\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:43+0000\n"
-"PO-Revision-Date: 2007-04-17 00:25-0500\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-10-17 14:23+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: Colophon.xml:4
#, no-c-format
msgid "Bibliography"
-msgstr ""
+msgstr "Bibliografía"
#. Tag: title
#: Colophon.xml:5
#, no-c-format
msgid "Authors"
-msgstr ""
+msgstr "Autores"
#. Tag: author
#: Colophon.xml:6
@@ -29,6 +31,8 @@
"<honorific>Mr</honorific><firstname>Norman</firstname> <surname>Walsh</"
"surname>"
msgstr ""
+"<honorific>Sr</honorific><firstname>Norman</firstname> <surname>Walsh</"
+"surname>"
#. Tag: affiliation
#: Colophon.xml:9
@@ -38,21 +42,25 @@
"jobtitle><orgname>ArborText, Inc.</orgname><orgdiv>Application Developement</"
"orgdiv>"
msgstr ""
+"<shortaffil>ATI</shortaffil><jobtitle>Analista de aplicaciones senior</"
+"jobtitle><orgname>ArborText, Inc.</orgname><orgdiv>Desarrollo de aplicaciones</"
+"orgdiv>"
#. Tag: title
#: Colophon.xml:11
#, no-c-format
msgid "Translator"
-msgstr ""
+msgstr "Angela Garcia - agarcia at redhat.com"
#. Tag: othercredit
#: Colophon.xml:12
#, no-c-format
msgid "<firstname>John</firstname> <surname>Doe</surname>"
-msgstr ""
+msgstr "<firstname>John</firstname> <surname>Doe</surname>"
#. Tag: contrib
#: Colophon.xml:14
#, no-c-format
msgid "Extensive review and rough drafts of Section 1.3, 1.4, and 1.5"
-msgstr ""
+msgstr "Revisión exhaustiva y borradores de la sección 1.3, 1.4 y 1.5"
+
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Compatibility.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Compatibility.po 2008-10-17 01:49:09 UTC (rev 6977)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Compatibility.po 2008-10-17 05:02:31 UTC (rev 6978)
@@ -1,24 +1,26 @@
+# translation of Compatibility.po to
# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
# Automatically generated, 2007.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Compatibility\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:43+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-10-17 14:24+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: Compatibility.xml:5
#, no-c-format
msgid "Version Compatibility and Interoperability"
-msgstr ""
+msgstr "Interoperabilidad y compatibilidad de versiones "
#. Tag: para
#: Compatibility.xml:6
@@ -78,3 +80,4 @@
"caches, a workaround is to set system property <literal>jboss.cache."
"fqn.123compatible</literal> to <literal>true</literal>."
msgstr ""
+
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Configuration.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Configuration.po 2008-10-17 01:49:09 UTC (rev 6977)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Configuration.po 2008-10-17 05:02:31 UTC (rev 6978)
@@ -1,24 +1,26 @@
+# translation of Configuration.po to
# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
# Automatically generated, 2007.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Configuration\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:43+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-10-17 15:01+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: Configuration.xml:5
#, no-c-format
msgid "Configuration"
-msgstr ""
+msgstr "Configuración"
#. Tag: para
#: Configuration.xml:6
@@ -27,19 +29,19 @@
"All properties of the cache are configured via setters and can be retrieved "
"via getters. This can be done either manually, or via the "
"<literal>PropertyConfigurator</literal> and an XML file."
-msgstr ""
+msgstr "Todas las propiedades del caché están configuradas por medio de setters y se pueden recuperar por medio de getters. Esto se puede lograr ya sea manualmente o a través del <literal>PropertyConfigurator</literal> y un archivo XML."
#. Tag: title
#: Configuration.xml:10
#, no-c-format
msgid "Sample XML-Based Configuration"
-msgstr ""
+msgstr "Configuración de ejemplo basada en XML"
#. Tag: para
#: Configuration.xml:11
#, no-c-format
msgid "A sample XML configuration file is shown below:"
-msgstr ""
+msgstr "Un archivo de configuración XML de ejemplo se muestra a continuación:"
#. Tag: programlisting
#: Configuration.xml:14
@@ -298,6 +300,258 @@
" </mbean>\n"
"</server>"
msgstr ""
+"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n"
+"<server>\n"
+" <classpath codebase=\"./lib\" archives=\"jboss-cache.jar, jgroups.jar"
+"\" />\n"
+"\n"
+" <!-- "
+"==================================================================== --"
+">\n"
+" <!-- Defines TreeCache "
+"configuration -->\n"
+" <!-- "
+"==================================================================== --"
+">\n"
+" <mbean code=\"org.jboss.cache.TreeCache\" name=\"jboss.cache:"
+"service=TreeCache\">\n"
+" <depends>jboss:service=Naming</depends>\n"
+" <depends>jboss:service=TransactionManager</depends>\n"
+"\n"
+"\n"
+" <!-- Configure the TransactionManager -->\n"
+" <attribute name=\"TransactionManagerLookupClass\">\n"
+" org.jboss.cache.DummyTransactionManagerLookup\n"
+" </attribute>\n"
+"\n"
+"<!-- \n"
+"Node locking scheme : \n"
+"PESSIMISTIC (default)\n"
+"OPTIMISTIC \n"
+"-->\n"
+"<attribute name=\"NodeLockingScheme\">PESSIMISTIC</attribute>\n"
+"\n"
+" <!--\n"
+" Node locking isolation level : \n"
+" SERIALIZABLE\n"
+" REPEATABLE_READ (default)\n"
+" READ_COMMITTED\n"
+" READ_UNCOMMITTED\n"
+" NONE\n"
+"\n"
+"(ignored if NodeLockingScheme is OPTIMISTIC)\n"
+" -->\n"
+" <attribute name=\"IsolationLevel\">REPEATABLE_READ</"
+"attribute>\n"
+"\n"
+" <!-- Lock parent before doing node additions/removes -->\n"
+" <attribute name=\"LockParentForChildInsertRemove\">true</"
+"attribute>\n"
+"\n"
+" <!-- Valid modes are LOCAL\n"
+" REPL_ASYNC\n"
+" REPL_SYNC\n"
+" INVALIDATION_ASYNC\n"
+" INVALIDATION_SYNC\n"
+" -->\n"
+" <attribute name=\"CacheMode\">LOCAL</attribute>\n"
+" \n"
+" <!-- Whether each interceptor should have an mbean\n"
+" registered to capture and display its statistics. -->\n"
+" <attribute name=\"UseInterceptorMbeans\">true</attribute>\n"
+"\n"
+" <!-- Name of cluster. Needs to be the same for all TreeCache nodes in "
+"a\n"
+" cluster, in order to find each other -->\n"
+" <attribute name=\"ClusterName\">JBoss-Cache-Cluster</"
+"attribute>\n"
+"\n"
+" <!-- Uncomment next three statements to enable JGroups multiplexer.\n"
+" This configuration is dependent on the JGroups multiplexer being\n"
+" registered in an MBean server such as JBossAS. -->\n"
+" <!--\n"
+" <depends>jgroups.mux:name=Multiplexer</depends>\n"
+" <attribute name=\"MultiplexerService\">jgroups.mux:"
+"name=Multiplexer</attribute>\n"
+" <attribute name=\"MultiplexerStack\">udp</attribute>\n"
+" -->\n"
+"\n"
+" <!-- JGroups protocol stack properties. ClusterConfig isn't used if "
+"the\n"
+" multiplexer is enabled and successfully initialized. -->\n"
+" <attribute name=\"ClusterConfig\">\n"
+" <config>\n"
+" <!-- UDP: if you have a multihomed machine,\n"
+" set the bind_addr attribute to the appropriate NIC IP "
+"address\n"
+" -->\n"
+" <!-- UDP: On Windows machines, because of the media sense "
+"feature\n"
+" being broken with multicast (even after disabling media "
+"sense)\n"
+" set the loopback attribute to true\n"
+" -->\n"
+" <UDP mcast_addr=\"228.1.2.3\" mcast_port=\"45566\" ip_ttl=\"64\" "
+"ip_mcast=\"true\"\n"
+" mcast_send_buf_size=\"150000\" mcast_recv_buf_size=\"80000\" \n"
+" ucast_send_buf_size=\"150000\" ucast_recv_buf_size=\"80000\"\n"
+" loopback=\"false\" />\n"
+" <PING timeout=\"2000\" num_initial_members=\"3\" up_thread=\"false"
+"\" \n"
+" down_thread=\"false\" />\n"
+" <MERGE2 min_interval=\"10000\" max_interval=\"20000\" />\n"
+" <FD shun=\"true\" up_thread=\"true\" down_thread=\"true\" />\n"
+" <VERIFY_SUSPECT timeout=\"1500\" up_thread=\"false\" down_thread="
+"\"false\" />\n"
+" <pbcast.NAKACK gc_lag=\"50\" max_xmit_size=\"8192\" \n"
+" retransmit_timeout=\"600,1200,2400,4800\" up_thread=\"false\"\n"
+" down_thread=\"false\" />\n"
+" <UNICAST timeout=\"600,1200,2400\" window_size=\"100\" "
+"min_threshold=\"10\" \n"
+" down_thread=\"false\" />\n"
+" <pbcast.STABLE desired_avg_gossip=\"20000\" up_thread=\"false\" "
+"down_thread=\"false\" />\n"
+" <FRAG frag_size=\"8192\" down_thread=\"false\" up_thread=\"false"
+"\" />\n"
+" <pbcast.GMS join_timeout=\"5000\" join_retry_timeout=\"2000\" "
+"shun=\"true\" \n"
+" print_local_addr=\"true\" />\n"
+" <pbcast.STATE_TRANSFER up_thread=\"false\" down_thread=\"false\" /"
+">\n"
+" </config>\n"
+" </attribute>\n"
+"\n"
+" <!-- The max amount of time (in milliseconds) we wait until the\n"
+" initial state (ie. the contents of the cache) are retrieved "
+"from\n"
+" existing members in a clustered environment\n"
+" -->\n"
+" <attribute name=\"InitialStateRetrievalTimeout\">5000</"
+"attribute>\n"
+"\n"
+" <!-- Number of milliseconds to wait until all responses for a\n"
+" synchronous call have been received.\n"
+" -->\n"
+" <attribute name=\"SyncReplTimeout\">10000</attribute>\n"
+"\n"
+" <!-- Max number of milliseconds to wait for a lock acquisition --"
+">\n"
+" <attribute name=\"LockAcquisitionTimeout\">15000</"
+"attribute>\n"
+"\n"
+" <!-- Name of the eviction policy class. -->\n"
+" <attribute name=\"EvictionPolicyClass\">org.jboss.cache.eviction."
+"LRUPolicy</attribute>\n"
+"\n"
+" <!-- Specific eviction policy configurations. This is LRU -->\n"
+" <attribute name=\"EvictionPolicyConfig\">\n"
+" <config>\n"
+" <attribute name=\"wakeUpIntervalSeconds\">5</attribute>\n"
+" <!-- Cache wide default -->\n"
+" <region name=\"/_default_\">\n"
+" <attribute name=\"maxNodes\">5000</attribute>\n"
+" <attribute name=\"timeToLiveSeconds\">1000</attribute>\n"
+" <!-- Maximum time an object is kept in cache regardless of idle "
+"time -->\n"
+" <attribute name=\"maxAgeSeconds\">120</attribute>\n"
+" </region>\n"
+"\n"
+" <region name=\"/org/jboss/data\">\n"
+" <attribute name=\"maxNodes\">5000</attribute>\n"
+" <attribute name=\"timeToLiveSeconds\">1000</attribute>\n"
+" </region>\n"
+"\n"
+" <region name=\"/org/jboss/test/data\">\n"
+" <attribute name=\"maxNodes\">5</attribute>\n"
+" <attribute name=\"timeToLiveSeconds\">4</attribute>\n"
+" </region>\n"
+" </config>\n"
+" </attribute>\n"
+"\n"
+" <!-- New 1.3.x cache loader config block -->\n"
+" <attribute name=\"CacheLoaderConfiguration\">\n"
+" <config>\n"
+" <!-- if passivation is true, only the first cache loader "
+"is used; \n"
+" the rest are ignored -->\n"
+" <passivation>false</passivation>\n"
+" <preload>/a/b, /allTempObjects, /some/specific/fqn</"
+"preload>\n"
+" <shared>false</shared>\n"
+"\n"
+" <!-- we can now have multiple cache loaders, which get "
+"chained -->\n"
+" <cacheloader>\n"
+" <class>org.jboss.cache.loader.FileCacheLoader</"
+"class>\n"
+" <!-- same as the old CacheLoaderConfig attribute --"
+">\n"
+" <properties>\n"
+" location=/tmp/myFileStore\n"
+" </properties>\n"
+" <!-- whether the cache loader writes are asynchronous "
+"-->\n"
+" <async>false</async>\n"
+" <!-- only one cache loader in the chain may set \n"
+" fetchPersistentState \n"
+" to true.\n"
+" An exception is thrown if more than one cache "
+"loader \n"
+" sets this to \n"
+" true. -->\n"
+" <fetchPersistentState>true</"
+"fetchPersistentState>\n"
+" <!-- determines whether this cache loader ignores "
+"writes - \n"
+" defaults to \n"
+" false. -->\n"
+" <ignoreModifications>false</"
+"ignoreModifications>\n"
+" <!-- if set to true, purges the contents of this "
+"cache loader \n"
+" when the cache starts up. Defaults to false. --"
+">\n"
+" <purgeOnStartup>false</purgeOnStartup>\n"
+" </cacheloader>\n"
+"\n"
+" <cacheloader>\n"
+" <class>org.jboss.cache.loader.JDBCCacheLoader</"
+"class>\n"
+" <!-- same as the old CacheLoaderConfig attribute --"
+">\n"
+" <properties>\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"
+" </properties>\n"
+" <!-- whether the cache loader writes are asynchronous "
+"-->\n"
+" <async>true</async>\n"
+" <!-- only one cache loader in the chain may set "
+"fetchPersistentState\n"
+" to true. An exception is thrown if more than one "
+"cache loader \n"
+" sets this to true. -->\n"
+" <fetchPersistentState>false</"
+"fetchPersistentState>\n"
+" <!-- determines whether this cache loader ignores "
+"writes - defaults \n"
+" to false. -->\n"
+" <ignoreModifications>true</"
+"ignoreModifications>\n"
+" <!-- if set to true, purges the contents of this "
+"cache loader when the \n"
+" cache starts up. Defaults to false. -->\n"
+" <purgeOnStartup>false</purgeOnStartup>\n"
+" </cacheloader>\n"
+"\n"
+" </config>\n"
+" </attribute>\n"
+"\n"
+"\n"
+" </mbean>\n"
+"</server>"
#. Tag: para
#: Configuration.xml:15
@@ -308,43 +562,43 @@
"JBoss Cache from the properties defined in it. Note that this configuration "
"file is used to configure JBoss Cache both as a standalone cache, and as an "
"MBean if run inside the JBoss container."
-msgstr ""
+msgstr "El método PropertyConfigurator.configure() necesita como argumento un nombre de archivo, el cual se encuentra en la ruta de clase; se utilizará para configurar JBoss Cache desde las propiedades definidas en este. Observe que este archivo de configuración se utiliza para configurar JBoss Cache como un caché autónomo y como un MBean si se ejecuta dentro del contenedor JBoss. "
#. Tag: para
#: Configuration.xml:16
#, no-c-format
msgid "We will switch to using an XMBean in a future release."
-msgstr ""
+msgstr "Vamos a cambiar y en lanzamiento futuros vamos a utilizar un XMBean. "
#. Tag: title
#: Configuration.xml:24
#, no-c-format
msgid "Definition of XML attributes"
-msgstr ""
+msgstr "Definición de atributos XML"
#. Tag: para
#: Configuration.xml:25
#, no-c-format
msgid "A list of definitions of each of the XML attributes used above:"
-msgstr ""
+msgstr "Una lista de definiciones de cada uno de los atributos XML utilizados anteriormente:"
#. Tag: para
#: Configuration.xml:32
#, no-c-format
msgid "Name"
-msgstr ""
+msgstr "Nombre"
#. Tag: para
#: Configuration.xml:37
#, no-c-format
msgid "Description"
-msgstr ""
+msgstr "Descripción"
#. Tag: para
#: Configuration.xml:44
#, no-c-format
msgid "BuddyReplicationConfig"
-msgstr ""
+msgstr "BuddyReplicationConfig"
#. Tag: para
#: Configuration.xml:49
@@ -352,13 +606,13 @@
msgid ""
"An XML element that contains detailed buddy replication configuration. See "
"section above on Buddy Replication."
-msgstr ""
+msgstr "Un elemento XML que contiene una configuración detallada de replicación de compañeros. Consulte la sección anterior sobre replicación de compañeros. "
#. Tag: para
#: Configuration.xml:56
#, no-c-format
msgid "CacheLoaderConfiguration"
-msgstr ""
+msgstr "CacheLoaderConfiguration"
#. Tag: para
#: Configuration.xml:61
@@ -366,25 +620,25 @@
msgid ""
"An XML element that contains detailed cache loader configuration. See "
"section above on Cache Loaders."
-msgstr ""
+msgstr "Un elemento XML que contiene una configuración detallada del cargador de caché. Consulte la sección anterior sobre cargadores de caché. "
#. Tag: para
#: Configuration.xml:68
#, no-c-format
msgid "CacheMode"
-msgstr ""
+msgstr "CacheMode"
#. Tag: para
#: Configuration.xml:73
#, no-c-format
msgid "LOCAL, REPL_SYNC, REPL_ASYNC, INVALIDATION_SYNC or INVALIDATION_ASYNC"
-msgstr ""
+msgstr "LOCAL, REPL_SYNC, REPL_ASYNC, INVALIDATION_SYNC or INVALIDATION_ASYNC"
#. Tag: para
#: Configuration.xml:80
#, no-c-format
msgid "ClusterConfig"
-msgstr ""
+msgstr "ClusterConfig"
#. Tag: para
#: Configuration.xml:85
@@ -398,12 +652,17 @@
"<ulink url=\"http://wiki.jboss.org/wiki/Wiki.jsp?page=JGroups\">JGroups wiki "
"page</ulink> for more information."
msgstr ""
+"La configuración de la pila de JGroups subyacente. Se ignora si se utilizan "
+"<literal>MultiplexerService</literal> y <literal>MultiplexerStack</"
+"literal>. Consulte los archivos *-service.xml en la distribución fuente en el folder <literal>etc/META-INF</literal> y allí encontrará ejemplos. Para obtener mayor información refiérase a "
+"<ulink url=\"http://www.jgroups.org\">JGroups documentation</ulink> o a la página wiki de JGroups "
+"<ulink url=\"http://wiki.jboss.org/wiki/Wiki.jsp?page=JGroups\"></ulink> para obtener mayor información."
#. Tag: para
#: Configuration.xml:92
#, no-c-format
msgid "ClusterName"
-msgstr ""
+msgstr "ClusterName"
#. Tag: para
#: Configuration.xml:97
@@ -411,13 +670,13 @@
msgid ""
"Name of cluster. Needs to be the same for all nodes in a cluster in order "
"for them to communicate with each other."
-msgstr ""
+msgstr "Nombre del clúster. Es necesario que sea el mismo para todos los nodos en un clúster para que se puedan comunicar entre ellos."
#. Tag: para
#: Configuration.xml:104
#, no-c-format
msgid "EvictionPolicyClass"
-msgstr ""
+msgstr "EvictionPolicyClass"
#. Tag: para
#: Configuration.xml:109
@@ -426,13 +685,13 @@
"The name of a class implementing EvictionPolicy. Deprecated; it is "
"preferable to configure the eviction policy class as part of the "
"<literal>EvictionPolicyConfig</literal>."
-msgstr ""
+msgstr "El nombre de una clase implementando EvictionPolicy. Ya no se utiliza; es preferible configurar la clase de la política de eliminación como parte de <literal>EvictionPolicyConfig</literal>."
#. Tag: para
#: Configuration.xml:116
#, no-c-format
msgid "EvictionPolicyConfig"
-msgstr ""
+msgstr "EvictionPolicyConfig"
#. Tag: para
#: Configuration.xml:121
@@ -616,8 +875,7 @@
#. Tag: para
#: Configuration.xml:253
#, no-c-format
-msgid ""
-"Max number of elements in the replication queue until replication kicks in."
+msgid "Max number of elements in the replication queue until replication kicks in."
msgstr ""
#. Tag: para
@@ -767,3 +1025,4 @@
"literal>. See the javadocs on the <literal>Option</literal> class for "
"details on these options."
msgstr ""
+
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Eviction_policies.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Eviction_policies.po 2008-10-17 01:49:09 UTC (rev 6977)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Eviction_policies.po 2008-10-17 05:02:31 UTC (rev 6978)
@@ -1,24 +1,26 @@
+# translation of Eviction_policies.po to
# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
# Automatically generated, 2007.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Eviction_policies\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:44+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-10-17 12:12+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: Eviction_policies.xml:5
#, no-c-format
msgid "Eviction Policies"
-msgstr ""
+msgstr "Políticas de eliminación"
#. Tag: para
#: Eviction_policies.xml:6
@@ -139,6 +141,57 @@
"\n"
"}"
msgstr ""
+"public interface EvictionPolicy\n"
+"{\n"
+" /**\n"
+" * Evict a node form the underlying cache.\n"
+" *\n"
+" * @param fqn DataNode corresponds to this fqn.\n"
+" * @throws Exception\n"
+" */\n"
+" void evict(Fqn fqn) throws Exception;\n"
+"\n"
+" /**\n"
+" * Return children names as Objects\n"
+" *\n"
+" * @param fqn\n"
+" * @return Child names under given fqn\n"
+" */\n"
+" Set getChildrenNames(Fqn fqn);\n"
+"\n"
+" /**\n"
+" * Is this a leaf node?\n"
+" *\n"
+" * @param fqn\n"
+" * @return true/false if leaf node.\n"
+" */\n"
+" boolean hasChild(Fqn fqn);\n"
+"\n"
+" Object getCacheData(Fqn fqn, Object key);\n"
+"\n"
+" /**\n"
+" * Method called to configure this implementation.\n"
+" */\n"
+" void configure(TreeCache cache);\n"
+"\n"
+" /**\n"
+" * Get the associated EvictionAlgorithm used by the EvictionPolicy.\n"
+" * <p/>\n"
+" * This relationship should be 1-1.\n"
+" *\n"
+" * @return An EvictionAlgorithm implementation.\n"
+" */\n"
+" EvictionAlgorithm getEvictionAlgorithm();\n"
+"\n"
+" /**\n"
+" * The EvictionConfiguration implementation class used by this "
+"EvictionPolicy.\n"
+" *\n"
+" * @return EvictionConfiguration implementation class.\n"
+" */\n"
+" Class getEvictionConfigurationClass();\n"
+"\n"
+"}"
#. Tag: programlisting
#: Eviction_policies.xml:29
@@ -174,6 +227,35 @@
"\n"
"}"
msgstr ""
+"public interface EvictionAlgorithm\n"
+"{\n"
+" /**\n"
+" * Entry point for evictin algorithm. This is an api called by the "
+"EvictionTimerTask\n"
+" * to process the node events in waiting and actual pruning, if "
+"necessary.\n"
+" *\n"
+" * @param region Region that this algorithm will operate on.\n"
+" */\n"
+" void process(Region region) throws EvictionException;\n"
+"\n"
+" /**\n"
+" * Reset the whole eviction queue. Queue may needs to be reset due to "
+"corrupted state, \n"
+" * for example.\n"
+" *\n"
+" * @param region Region that this algorithm will operate on.\n"
+" */\n"
+" void resetEvictionQueue(Region region);\n"
+"\n"
+" /**\n"
+" * Get the EvictionQueue implementation used by this algorithm.\n"
+" *\n"
+" * @return the EvictionQueue implementation.\n"
+" */\n"
+" EvictionQueue getEvictionQueue();\n"
+"\n"
+"}"
#. Tag: programlisting
#: Eviction_policies.xml:30
@@ -243,6 +325,69 @@
"\n"
"}"
msgstr ""
+"public interface EvictionQueue\n"
+"{\n"
+" /**\n"
+" * Get the first entry in the queue.\n"
+" * <p/>\n"
+" * If there are no entries in queue, this method will return null.\n"
+" * <p/>\n"
+" * The first node returned is expected to be the first node to evict.\n"
+" *\n"
+" * @return first NodeEntry in queue.\n"
+" */\n"
+" public NodeEntry getFirstNodeEntry();\n"
+"\n"
+" /**\n"
+" * Retrieve a node entry by Fqn.\n"
+" * <p/>\n"
+" * This will return null if the entry is not found.\n"
+" *\n"
+" * @param fqn Fqn of the node entry to retrieve.\n"
+" * @return Node Entry object associated with given Fqn param.\n"
+" */\n"
+" public NodeEntry getNodeEntry(Fqn fqn);\n"
+"\n"
+" public NodeEntry getNodeEntry(String fqn);\n"
+"\n"
+" /**\n"
+" * Check if queue contains the given NodeEntry.\n"
+" *\n"
+" * @param entry NodeEntry to check for existence in queue.\n"
+" * @return true/false if NodeEntry exists in queue.\n"
+" */\n"
+" public boolean containsNodeEntry(NodeEntry entry);\n"
+"\n"
+" /**\n"
+" * Remove a NodeEntry from queue.\n"
+" * <p/>\n"
+" * If the NodeEntry does not exist in the queue, this method will return "
+"normally.\n"
+" *\n"
+" * @param entry The NodeEntry to remove from queue.\n"
+" */\n"
+" public void removeNodeEntry(NodeEntry entry);\n"
+"\n"
+" /**\n"
+" * Add a NodeEntry to the queue.\n"
+" *\n"
+" * @param entry The NodeEntry to add to queue.\n"
+" */\n"
+" public void addNodeEntry(NodeEntry entry);\n"
+"\n"
+" /**\n"
+" * Get the size of the queue.\n"
+" *\n"
+" * @return The number of items in the queue.\n"
+" */\n"
+" public int size();\n"
+"\n"
+" /**\n"
+" * Clear the queue.\n"
+" */\n"
+" public void clear();\n"
+"\n"
+"}"
#. Tag: programlisting
#: Eviction_policies.xml:31
@@ -283,13 +428,47 @@
" public void parseXMLConfig(Element element) throws ConfigureException;\n"
"}"
msgstr ""
+"public interface EvictionConfiguration\n"
+"{\n"
+" public static final int WAKEUP_DEFAULT = 5;\n"
+"\n"
+" public static final String ATTR = \"attribute\";\n"
+" public static final String NAME = \"name\";\n"
+"\n"
+" public static final String REGION = \"region\";\n"
+" public static final String WAKEUP_INTERVAL_SECONDS = "
+"\"wakeUpIntervalSeconds\";\n"
+" public static final String MAX_NODES = \"maxNodes\";\n"
+" public static final String TIME_TO_IDLE_SECONDS = \"timeToIdleSeconds\";\n"
+" public static final String TIME_TO_LIVE_SECONDS = \"timeToLiveSeconds\";\n"
+" public static final String MAX_AGE_SECONDS = \"maxAgeSeconds\";\n"
+" public static final String MIN_NODES = \"minNodes\";\n"
+" public static final String REGION_POLICY_CLASS = \"policyClass\";\n"
+"\n"
+" /**\n"
+" * Parse the XML configuration for the given specific eviction region.\n"
+" * <p/>\n"
+" * The element parameter should contain the entire region block. An "
+"example\n"
+" * of an entire Element of the region would be:\n"
+" * <p/>\n"
+" * <region name=\"abc\">\n"
+" * <attribute name=\"maxNodes\">10</attribute>\n"
+" * </region>\n"
+" *\n"
+" * @param element DOM element for the region. <region name=\"abc\">"
+"</region>\n"
+" * @throws ConfigureException\n"
+" */\n"
+" public void parseXMLConfig(Element element) throws ConfigureException;\n"
+"}"
#. Tag: emphasis
#: Eviction_policies.xml:33 Eviction_policies.xml:55 Eviction_policies.xml:66
#: Eviction_policies.xml:77
#, no-c-format
msgid "Note that:"
-msgstr ""
+msgstr "Observe que:"
#. Tag: para
#: Eviction_policies.xml:37
@@ -393,6 +572,72 @@
"\n"
"}"
msgstr ""
+"public abstract class BaseEvictionPolicy implements EvictionPolicy\n"
+"{\n"
+" protected static final Fqn ROOT = new Fqn(\"/\");\n"
+"\n"
+" protected TreeCache cache_;\n"
+"\n"
+" public BaseEvictionPolicy()\n"
+" {\n"
+" }\n"
+"\n"
+" /** EvictionPolicy interface implementation */\n"
+"\n"
+" /**\n"
+" * Evict the node under given Fqn from cache.\n"
+" *\n"
+" * @param fqn The fqn of a node in cache.\n"
+" * @throws Exception\n"
+" */\n"
+" public void evict(Fqn fqn) throws Exception\n"
+" {\n"
+" cache_.evict(fqn);\n"
+" }\n"
+"\n"
+" /**\n"
+" * Return a set of child names under a given Fqn.\n"
+" *\n"
+" * @param fqn Get child names for given Fqn in cache.\n"
+" * @return Set of children name as Objects\n"
+" */\n"
+" public Set getChildrenNames(Fqn fqn)\n"
+" {\n"
+" try\n"
+" {\n"
+" return cache_.getChildrenNames(fqn);\n"
+" }\n"
+" catch (CacheException e)\n"
+" {\n"
+" e.printStackTrace();\n"
+" }\n"
+" return null;\n"
+" }\n"
+"\n"
+" public boolean hasChild(Fqn fqn)\n"
+" {\n"
+" return cache_.hasChild(fqn);\n"
+" }\n"
+"\n"
+" public Object getCacheData(Fqn fqn, Object key)\n"
+" {\n"
+" try\n"
+" {\n"
+" return cache_.get(fqn, key);\n"
+" }\n"
+" catch (CacheException e)\n"
+" {\n"
+" e.printStackTrace();\n"
+" }\n"
+" return null;\n"
+" }\n"
+"\n"
+" public void configure(TreeCache cache)\n"
+" {\n"
+" this.cache_ = cache;\n"
+" }\n"
+"\n"
+"}"
#. Tag: programlisting
#: Eviction_policies.xml:53
@@ -776,6 +1021,383 @@
"\n"
"}"
msgstr ""
+"public abstract class BaseEvictionAlgorithm implements EvictionAlgorithm\n"
+"{\n"
+" private static final Log log = LogFactory.getLog(BaseEvictionAlgorithm."
+"class);\n"
+"\n"
+" protected Region region;\n"
+" protected BoundedBuffer recycleQueue;\n"
+" protected EvictionQueue evictionQueue;\n"
+"\n"
+" /**\n"
+" * This method will create an EvictionQueue implementation and prepare it "
+"for use.\n"
+" *\n"
+" * @param region Region to setup an eviction queue for.\n"
+" * @return The created EvictionQueue to be used as the eviction queue for "
+"this algorithm.\n"
+" * @throws EvictionException\n"
+" * @see EvictionQueue\n"
+" */\n"
+" protected abstract EvictionQueue setupEvictionQueue(Region region) throws "
+"EvictionException;\n"
+"\n"
+" /**\n"
+" * This method will check whether the given node should be evicted or "
+"not.\n"
+" *\n"
+" * @param ne NodeEntry to test eviction for.\n"
+" * @return True if the given node should be evicted. False if the given "
+"node should not \n"
+" * be evicted.\n"
+" */\n"
+" protected abstract boolean shouldEvictNode(NodeEntry ne);\n"
+"\n"
+" protected BaseEvictionAlgorithm()\n"
+" {\n"
+" recycleQueue = new BoundedBuffer();\n"
+" }\n"
+"\n"
+" protected void initialize(Region region) throws EvictionException\n"
+" {\n"
+" this.region = region;\n"
+" evictionQueue = setupEvictionQueue(region);\n"
+" }\n"
+"\n"
+" /**\n"
+" * Process the given region.\n"
+" * <p/>\n"
+" * Eviction Processing encompasses the following:\n"
+" * <p/>\n"
+" * - Add/Remove/Visit Nodes\n"
+" * - Prune according to Eviction Algorithm\n"
+" * - Empty/Retry the recycle queue of previously evicted but locked "
+"(during actual \n"
+" * cache eviction) \n"
+" *nodes.\n"
+" *\n"
+" * @param region Cache region to process for eviction.\n"
+" * @throws EvictionException\n"
+" */\n"
+" public void process(Region region) throws EvictionException\n"
+" {\n"
+" if (this.region == null)\n"
+" {\n"
+" this.initialize(region);\n"
+" }\n"
+"\n"
+" this.processQueues(region);\n"
+" this.emptyRecycleQueue();\n"
+" this.prune();\n"
+" }\n"
+"\n"
+" public void resetEvictionQueue(Region region)\n"
+" {\n"
+" }\n"
+"\n"
+" /**\n"
+" * Get the underlying EvictionQueue implementation.\n"
+" *\n"
+" * @return the EvictionQueue used by this algorithm\n"
+" * @see EvictionQueue\n"
+" */\n"
+" public EvictionQueue getEvictionQueue()\n"
+" {\n"
+" return this.evictionQueue;\n"
+" }\n"
+"\n"
+" /**\n"
+" * Event processing for Evict/Add/Visiting of nodes.\n"
+" * <p/>\n"
+" * - On AddEvents a new element is added into the eviction queue\n"
+" * - On RemoveEvents, the removed element is removed from the eviction "
+"queue.\n"
+" * - On VisitEvents, the visited node has its eviction statistics updated "
+"(idleTime, \n"
+" * numberOfNodeVisists, etc..)\n"
+" *\n"
+" * @param region Cache region to process for eviction.\n"
+" * @throws EvictionException\n"
+" */\n"
+" protected void processQueues(Region region) throws EvictionException\n"
+" {\n"
+" EvictedEventNode node;\n"
+" int count = 0;\n"
+" while ((node = region.takeLastEventNode()) != null)\n"
+" {\n"
+" int eventType = node.getEvent();\n"
+" Fqn fqn = node.getFqn();\n"
+"\n"
+" count++;\n"
+" switch (eventType)\n"
+" {\n"
+" case EvictedEventNode.ADD_EVENT:\n"
+" this.processAddedNodes(fqn);\n"
+" break;\n"
+" case EvictedEventNode.REMOVE_EVENT:\n"
+" this.processRemovedNodes(fqn);\n"
+" break;\n"
+" case EvictedEventNode.VISIT_EVENT:\n"
+" this.processVisitedNodes(fqn);\n"
+" break;\n"
+" default:\n"
+" throw new RuntimeException(\"Illegal Eviction Event type \" + "
+"eventType);\n"
+" }\n"
+" }\n"
+"\n"
+" if (log.isTraceEnabled())\n"
+" {\n"
+" log.trace(\"processed \" + count + \" node events\");\n"
+" }\n"
+"\n"
+" }\n"
+"\n"
+" protected void evict(NodeEntry ne)\n"
+" {\n"
+"// NodeEntry ne = evictionQueue.getNodeEntry(fqn);\n"
+" if (ne != null)\n"
+" {\n"
+" evictionQueue.removeNodeEntry(ne);\n"
+" if (!this.evictCacheNode(ne.getFqn()))\n"
+" {\n"
+" try\n"
+" {\n"
+" recycleQueue.put(ne);\n"
+" }\n"
+" catch (InterruptedException e)\n"
+" {\n"
+" e.printStackTrace();\n"
+" }\n"
+" }\n"
+" }\n"
+" }\n"
+"\n"
+" /**\n"
+" * Evict a node from cache.\n"
+" *\n"
+" * @param fqn node corresponds to this fqn\n"
+" * @return True if successful\n"
+" */\n"
+" protected boolean evictCacheNode(Fqn fqn)\n"
+" {\n"
+" if (log.isTraceEnabled())\n"
+" {\n"
+" log.trace(\"Attempting to evict cache node with fqn of \" + fqn);\n"
+" }\n"
+" EvictionPolicy policy = region.getEvictionPolicy();\n"
+" // Do an eviction of this node\n"
+"\n"
+" try\n"
+" {\n"
+" policy.evict(fqn);\n"
+" }\n"
+" catch (Exception e)\n"
+" {\n"
+" if (e instanceof TimeoutException)\n"
+" {\n"
+" log.warn(\"eviction of \" + fqn + \" timed out. Will retry later."
+"\");\n"
+" return false;\n"
+" }\n"
+" e.printStackTrace();\n"
+" return false;\n"
+" }\n"
+"\n"
+" if (log.isTraceEnabled())\n"
+" {\n"
+" log.trace(\"Eviction of cache node with fqn of \" + fqn + \" "
+"successful\");\n"
+" }\n"
+"\n"
+" return true;\n"
+" }\n"
+"\n"
+" /**\n"
+" * Process an Added cache node.\n"
+" *\n"
+" * @param fqn FQN of the added node.\n"
+" * @throws EvictionException\n"
+" */\n"
+" protected void processAddedNodes(Fqn fqn) throws EvictionException\n"
+" {\n"
+" if (log.isTraceEnabled())\n"
+" {\n"
+" log.trace(\"Adding node \" + fqn + \" to eviction queue\");\n"
+" }\n"
+"\n"
+" long stamp = System.currentTimeMillis();\n"
+" NodeEntry ne = new NodeEntry(fqn);\n"
+" ne.setModifiedTimeStamp(stamp);\n"
+" ne.setNumberOfNodeVisits(1);\n"
+" // add it to the node map and eviction queue\n"
+" if (evictionQueue.containsNodeEntry(ne))\n"
+" {\n"
+" if (log.isTraceEnabled())\n"
+" {\n"
+" log.trace(\"Queue already contains \" + ne.getFqn() + \" "
+"processing it as visited\");\n"
+" }\n"
+" this.processVisitedNodes(ne.getFqn());\n"
+" return;\n"
+" }\n"
+"\n"
+" evictionQueue.addNodeEntry(ne);\n"
+"\n"
+" if (log.isTraceEnabled())\n"
+" {\n"
+" log.trace(ne.getFqn() + \" added successfully to eviction queue"
+"\");\n"
+" }\n"
+" }\n"
+"\n"
+" /**\n"
+" * Remove a node from cache.\n"
+" * \n"
+" * This method will remove the node from the eviction queue as well as\n"
+" * evict the node from cache.\n"
+" * \n"
+" * If a node cannot be removed from cache, this method will remove it "
+"from the\n"
+" * eviction queue and place the element into the recycleQueue. Each node "
+"in the recycle \n"
+" * queue will get retried until proper cache eviction has taken place.\n"
+" * \n"
+" * Because EvictionQueues are collections, when iterating them from an "
+"iterator, use \n"
+" * iterator.remove() to avoid ConcurrentModificationExceptions. Use the "
+"boolean \n"
+" * parameter to indicate the calling context.\n"
+" *\n"
+" * @param fqn FQN of the removed node\n"
+" * @throws EvictionException\n"
+" */\n"
+" protected void processRemovedNodes(Fqn fqn) throws EvictionException\n"
+" {\n"
+" if (log.isTraceEnabled())\n"
+" {\n"
+" log.trace(\"Removing node \" + fqn + \" from eviction queue and "
+"attempting eviction\");\n"
+" }\n"
+"\n"
+" NodeEntry ne = evictionQueue.getNodeEntry(fqn);\n"
+" if (ne != null)\n"
+" {\n"
+" evictionQueue.removeNodeEntry(ne);\n"
+" }\n"
+"\n"
+" if (log.isTraceEnabled())\n"
+" {\n"
+" log.trace(fqn + \" removed from eviction queue\");\n"
+" }\n"
+" }\n"
+"\n"
+" /**\n"
+" * Visit a node in cache.\n"
+" * <p/>\n"
+" * This method will update the numVisits and modifiedTimestamp properties "
+"of the Node.\n"
+" * These properties are used as statistics to determine eviction (LRU, "
+"LFU, MRU, etc..)\n"
+" * <p/>\n"
+" * *Note* that this method updates Node Entries by reference and does not "
+"put them back\n"
+" * into the queue. For some sorted collections, a remove, and a re-add is "
+"required to\n"
+" * maintain the sorted order of the elements.\n"
+" *\n"
+" * @param fqn FQN of the visited node.\n"
+" * @throws EvictionException\n"
+" */\n"
+" protected void processVisitedNodes(Fqn fqn) throws EvictionException\n"
+" {\n"
+" NodeEntry ne = evictionQueue.getNodeEntry(fqn);\n"
+" if (ne == null)\n"
+" {\n"
+" this.processAddedNodes(fqn);\n"
+" return;\n"
+" }\n"
+" // note this method will visit and modify the node statistics by "
+"reference!\n"
+" // if a collection is only guaranteed sort order by adding to the "
+"collection,\n"
+" // this implementation will not guarantee sort order.\n"
+" ne.setNumberOfNodeVisits(ne.getNumberOfNodeVisits() + 1);\n"
+" ne.setModifiedTimeStamp(System.currentTimeMillis());\n"
+" }\n"
+"\n"
+" /**\n"
+" * Empty the Recycle Queue.\n"
+" * <p/>\n"
+" * This method will go through the recycle queue and retry to evict the "
+"nodes from cache.\n"
+" *\n"
+" * @throws EvictionException\n"
+" */\n"
+" protected void emptyRecycleQueue() throws EvictionException\n"
+" {\n"
+" while (true)\n"
+" {\n"
+" Fqn fqn;\n"
+"\n"
+" try\n"
+" {\n"
+" fqn = (Fqn) recycleQueue.poll(0);\n"
+" }\n"
+" catch (InterruptedException e)\n"
+" {\n"
+" e.printStackTrace();\n"
+" break;\n"
+" }\n"
+"\n"
+" if (fqn == null)\n"
+" {\n"
+" if (log.isTraceEnabled())\n"
+" {\n"
+" log.trace(\"Recycle queue is empty\");\n"
+" }\n"
+" break;\n"
+" }\n"
+"\n"
+" if (log.isTraceEnabled())\n"
+" {\n"
+" log.trace(\"emptying recycle bin. Evict node \" + fqn);\n"
+" }\n"
+"\n"
+" // Still doesn't work\n"
+" if (!evictCacheNode(fqn))\n"
+" {\n"
+" try\n"
+" {\n"
+" recycleQueue.put(fqn);\n"
+" }\n"
+" catch (InterruptedException e)\n"
+" {\n"
+" e.printStackTrace();\n"
+" }\n"
+" break;\n"
+" }\n"
+" }\n"
+" }\n"
+"\n"
+" protected void prune() throws EvictionException\n"
+" {\n"
+" NodeEntry entry;\n"
+" while ((entry = evictionQueue.getFirstNodeEntry()) != null)\n"
+" {\n"
+" if (this.shouldEvictNode(entry))\n"
+" {\n"
+" this.evict(entry);\n"
+" }\n"
+" else\n"
+" {\n"
+" break;\n"
+" }\n"
+" }\n"
+" }\n"
+"\n"
+"}"
#. Tag: para
#: Eviction_policies.xml:59
@@ -883,6 +1505,94 @@
"\n"
" }"
msgstr ""
+"public abstract class BaseSortedEvictionAlgorithm extends "
+"BaseEvictionAlgorithm \n"
+" implements EvictionAlgorithm\n"
+" {\n"
+" private static final Log log = LogFactory.getLog"
+"(BaseSortedEvictionAlgorithm.class);\n"
+"\n"
+" public void process(Region region) throws EvictionException\n"
+" {\n"
+" super.process(region);\n"
+" }\n"
+"\n"
+" protected void processQueues(Region region) throws EvictionException\n"
+" {\n"
+" boolean evictionNodesModified = false;\n"
+"\n"
+" EvictedEventNode node;\n"
+" int count = 0;\n"
+" while ((node = region.takeLastEventNode()) != null)\n"
+" {\n"
+" int eventType = node.getEvent();\n"
+" Fqn fqn = node.getFqn();\n"
+"\n"
+" count++;\n"
+" switch (eventType)\n"
+" {\n"
+" case EvictedEventNode.ADD_EVENT:\n"
+" this.processAddedNodes(fqn);\n"
+" evictionNodesModified = true;\n"
+" break;\n"
+" case EvictedEventNode.REMOVE_EVENT:\n"
+" this.processRemovedNodes(fqn);\n"
+" break;\n"
+" case EvictedEventNode.VISIT_EVENT:\n"
+" this.processVisitedNodes(fqn);\n"
+" evictionNodesModified = true;\n"
+" break;\n"
+" default:\n"
+" throw new RuntimeException(\"Illegal Eviction Event type "
+"\" + eventType);\n"
+" }\n"
+" }\n"
+"\n"
+" if (log.isTraceEnabled())\n"
+" {\n"
+" log.trace(\"Eviction nodes visited or added requires resort of "
+"queue \" +\n"
+" evictionNodesModified);\n"
+" }\n"
+"\n"
+" this.resortEvictionQueue(evictionNodesModified);\n"
+"\n"
+"\n"
+" if (log.isTraceEnabled())\n"
+" {\n"
+" log.trace(\"processed \" + count + \" node events\");\n"
+" }\n"
+"\n"
+" }\n"
+"\n"
+" /**\n"
+" * This method is called to resort the queue after add or visit events "
+"have occurred.\n"
+" * \n"
+" * If the parameter is true, the queue needs to be resorted. If it is "
+"false, the queue \n"
+" * does not need resorting.\n"
+" *\n"
+" * @param evictionQueueModified True if the queue was added to or "
+"visisted during event \n"
+" * processing.\n"
+" */\n"
+" protected void resortEvictionQueue(boolean evictionQueueModified)\n"
+" {\n"
+" long begin = System.currentTimeMillis();\n"
+" ((SortedEvictionQueue) evictionQueue).resortEvictionQueue();\n"
+" long end = System.currentTimeMillis();\n"
+"\n"
+" if (log.isTraceEnabled())\n"
+" {\n"
+" long diff = end - begin;\n"
+" log.trace(\"Took \" + diff + \"ms to sort queue with \" + "
+"getEvictionQueue().size()\n"
+" + \" elements\");\n"
+" }\n"
+" }\n"
+"\n"
+" }"
#. Tag: para
#: Eviction_policies.xml:70
@@ -907,6 +1617,13 @@
" public void resortEvictionQueue();\n"
"}"
msgstr ""
+"public interface SortedEvictionQueue extends EvictionQueue\n"
+"{\n"
+" /**\n"
+" * Provide contract to resort a sorted queue.\n"
+" */\n"
+" public void resortEvictionQueue();\n"
+"}"
#. Tag: para
#: Eviction_policies.xml:81
@@ -992,12 +1709,53 @@
" </config>\n"
" </attribute>"
msgstr ""
+"<attribute name=\"EvictionPolicyClass\">org.jboss.cache.eviction."
+"LRUPolicy</attribute>\n"
+" <!-- Specific eviction policy configurations. This is LRU --"
+">\n"
+" <attribute name=\"EvictionPolicyConfig\">\n"
+" <config>\n"
+" <attribute name=\"wakeUpIntervalSeconds\">5</"
+"attribute>\n"
+" <!-- Cache wide default -->\n"
+" <region name=\"/_default_\">\n"
+" <attribute name=\"maxNodes\">5000</"
+"attribute>\n"
+" <attribute name=\"timeToLiveSeconds\">1000</"
+"attribute>\n"
+" </region>\n"
+" <region name=\"/org/jboss/data\">\n"
+" <attribute name=\"maxNodes\">5000</"
+"attribute>\n"
+" <attribute name=\"timeToLiveSeconds\">1000</"
+"attribute>\n"
+" </region>\n"
+" <region name=\"/org/jboss/test/data\">\n"
+" <attribute name=\"maxNodes\">5</attribute>\n"
+" <attribute name=\"timeToLiveSeconds\">4</"
+"attribute>\n"
+" </region>\n"
+" <region name=\"/test/\">\n"
+" <attribute name=\"maxNodes\">10000</"
+"attribute>\n"
+" <attribute name=\"timeToLiveSeconds\">5</"
+"attribute>\n"
+" </region>\n"
+" <region name=\"/maxAgeTest/\">\n"
+" <attribute name=\"maxNodes\">10000</"
+"attribute>\n"
+" <attribute name=\"timeToLiveSeconds\">8</"
+"attribute>\n"
+" <attribute name=\"maxAgeSeconds\">10</"
+"attribute>\n"
+" </region>\n"
+" </config>\n"
+" </attribute>"
#. Tag: para
#: Eviction_policies.xml:97
#, no-c-format
-msgid ""
-"Here is an example of configuring a different eviction provider per region"
+msgid "Here is an example of configuring a different eviction provider per region"
msgstr ""
#. Tag: programlisting
@@ -1038,6 +1796,39 @@
" </config>\n"
" </attribute>"
msgstr ""
+"<attribute name=\"EvictionPolicyConfig\">\n"
+" <config>\n"
+" <attribute name=\"wakeUpIntervalSeconds\">5</"
+"attribute>\n"
+" <!-- Cache wide default -->\n"
+" <region name=\"/_default_\" policyClass=\"org.jboss.cache."
+"eviction.LRUPolicy\">\n"
+" <attribute name=\"maxNodes\">5000</attribute>\n"
+" <attribute name=\"timeToLiveSeconds\">1000</"
+"attribute>\n"
+" </region>\n"
+" <region name=\"/org/jboss/data\" policyClass=\"org.jboss."
+"cache.eviction.LFUPolicy\">\n"
+" <attribute name=\"maxNodes\">5000</attribute>\n"
+" <attribute name=\"minNodes\">1000</attribute>\n"
+" </region>\n"
+" <region name=\"/org/jboss/test/data\"\n"
+" policyClass=\"org.jboss.cache.eviction.FIFOPolicy\">\n"
+" <attribute name=\"maxNodes\">5</attribute>\n"
+" </region>\n"
+" <region name=\"/test/\" policyClass=\"org.jboss.cache."
+"eviction.MRUPolicy\">\n"
+" <attribute name=\"maxNodes\">10000</attribute>\n"
+" </region>\n"
+" <region name=\"/maxAgeTest/\" policyClass=\"org.jboss.cache."
+"eviction.LRUPolicy\">\n"
+" <attribute name=\"maxNodes\">10000</attribute>\n"
+" <attribute name=\"timeToLiveSeconds\">8</"
+"attribute>\n"
+" <attribute name=\"maxAgeSeconds\">10</attribute>\n"
+" </region>\n"
+" </config>\n"
+" </attribute>"
#. Tag: para
#: Eviction_policies.xml:101
@@ -1082,6 +1873,35 @@
" </config>\n"
" </attribute>"
msgstr ""
+"<attribute name=\"EvictionPolicyClass\">org.jboss.cache.eviction."
+"LRUPolicy</attribute>\n"
+" <!-- Specific eviction policy configurations. This is LRU -->\n"
+" <attribute name=\"EvictionPolicyConfig\">\n"
+" <config>\n"
+" <attribute name=\"wakeUpIntervalSeconds\">5</"
+"attribute>\n"
+" <!-- Cache wide default -->\n"
+" <region name=\"/_default_\">\n"
+" <attribute name=\"maxNodes\">5000</attribute>\n"
+" <attribute name=\"timeToLiveSeconds\">1000</"
+"attribute>\n"
+" </region>\n"
+" <region name=\"/org/jboss/data\" policyClass=\"org.jboss."
+"cache.eviction.FIFOPolicy\">\n"
+" <attribute name=\"maxNodes\">5000</attribute>\n"
+" </region>\n"
+" <region name=\"/test/\" policyClass=\"org.jboss.cache."
+"eviction.MRUPolicy\">\n"
+" <attribute name=\"maxNodes\">10000</attribute>\n"
+" </region>\n"
+" <region name=\"/maxAgeTest/\">\n"
+" <attribute name=\"maxNodes\">10000</attribute>\n"
+" <attribute name=\"timeToLiveSeconds\">8</"
+"attribute>\n"
+" <attribute name=\"maxAgeSeconds\">10</attribute>\n"
+" </region>\n"
+" </config>\n"
+" </attribute>"
#. Tag: para
#: Eviction_policies.xml:105
@@ -1111,6 +1931,19 @@
" ((LRUConfiguration)config).setTimeToLiveSeconds(500);\n"
" ((LRUConfiguration)config).setMaxAgeSeconds(1000);"
msgstr ""
+"// note this is just to show that a running TreeCache instance must be\n"
+" // retrieved somehow. How it is implemented is up to the "
+"implementor.\n"
+" TreeCache cache = getRunningTreeCacheInstance();\n"
+"\n"
+" org.jboss.cache.eviction.RegionManager regionManager = cache."
+"getEvictionRegionManager();\n"
+" org.jboss.cache.eviction.Region region = regionManager.getRegion(\"/"
+"myRegionName\");\n"
+" EvictionConfiguation config = region.getEvictionConfiguration();\n"
+" ((LRUConfiguration)config).setMaxNodes(12345);\n"
+" ((LRUConfiguration)config).setTimeToLiveSeconds(500);\n"
+" ((LRUConfiguration)config).setMaxAgeSeconds(1000);"
#. Tag: title
#: Eviction_policies.xml:112
@@ -1281,3 +2114,4 @@
"cache is pruned down to the 10 most frequently used nodes when the eviction "
"timer makes a pass through the eviction algorithm."
msgstr ""
+
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Jboss_integration.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Jboss_integration.po 2008-10-17 01:49:09 UTC (rev 6977)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Jboss_integration.po 2008-10-17 05:02:31 UTC (rev 6978)
@@ -1,18 +1,20 @@
+# translation of Jboss_integration.po to
# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
# Automatically generated, 2007.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Jboss_integration\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:44+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-10-17 12:13+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: Jboss_integration.xml:5
@@ -60,6 +62,11 @@
"\"jboss.cache:service=TreeCache\", server);\n"
"cache.put(\"/a/b/c\", null);"
msgstr ""
+"MBeanServer server=MBeanServerLocator.locateJBoss();\n"
+"TreeCacheMBean cache;\n"
+"cache=(TreeCacheMBean)MBeanProxyExt.create(TreeCacheMBean.class,\n"
+"\"jboss.cache:service=TreeCache\", server);\n"
+"cache.put(\"/a/b/c\", null);"
#. Tag: para
#: Jboss_integration.xml:16
@@ -117,6 +124,31 @@
" <depends>jboss.cache:service=TreeCache</depends>\n"
" </mbean>"
msgstr ""
+"<mbean\n"
+" code=\"org.jboss.invocation.jrmp.server.JRMPProxyFactory\"\n"
+" name=\"mydomain:service=proxyFactory,type=jrmp,target=factory\">\n"
+" <attribute\n"
+" name=\"InvokerName\">jboss:service=invoker,type=jrmp</"
+"attribute>\n"
+" <attribute\n"
+" name=\"TargetName\">jboss.cache:service=TreeCache</"
+"attribute>\n"
+" <attribute name=\"JndiName\">MyCache</attribute> <"
+"attribute\n"
+" name=\"InvokeTargetMethod\">true</attribute> <attribute\n"
+" name=\"ExportedInterface\">org.jboss.cache.TreeCacheMBean</"
+"attribute>\n"
+" <attribute name=\"ClientInterceptors\"> <iterceptors>\n"
+" <interceptor>org.jboss.proxy.ClientMethodInterceptor</"
+"interceptor>\n"
+" <interceptor>org.jboss.proxy.SecurityInterceptor</"
+"interceptor>\n"
+" <interceptor>org.jboss.invocation.InvokerInterceptor</"
+"interceptor>\n"
+" </iterceptors> </attribute>\n"
+" <depends>jboss:service=invoker,type=jrmp</depends>\n"
+" <depends>jboss.cache:service=TreeCache</depends>\n"
+" </mbean>"
#. Tag: para
#: Jboss_integration.xml:24
@@ -128,3 +160,4 @@
"under which the MBean will be bound, and <literal>ExportedInterface</"
"literal> is the interface name of the MBean."
msgstr ""
+
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Replication.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Replication.po 2008-10-17 01:49:09 UTC (rev 6977)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Replication.po 2008-10-17 05:02:31 UTC (rev 6978)
@@ -1,18 +1,20 @@
+# translation of Replication.po to
# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
# Automatically generated, 2007.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Replication\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:44+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-10-17 12:13+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: Replication.xml:5
@@ -447,6 +449,65 @@
"</config>\n"
"</attribute>"
msgstr ""
+"<!-- Buddy Replication config -->\n"
+"<attribute name=\"BuddyReplicationConfig\">\n"
+"<config>\n"
+" \n"
+"<!-- Enables buddy replication. This is the ONLY mandatory configuration "
+"element here. -->\n"
+"<buddyReplicationEnabled>true</buddyReplicationEnabled>\n"
+" \n"
+"<!-- These are the default values anyway -->\n"
+"<buddyLocatorClass>\n"
+" org.jboss.cache.buddyreplication.NextMemberBuddyLocator\n"
+"</buddyLocatorClass>\n"
+" \n"
+"<!-- numBuddies is the number of backup nodes each node maintains. \n"
+"ignoreColocatedBuddies means that each node will *try* to select a buddy on "
+"a different \n"
+"physical host. If not able to do so though, it will fall back to colocated "
+"nodes. -->\n"
+"<buddyLocatorProperties>\n"
+" numBuddies = 1\n"
+" ignoreColocatedBuddies = true\n"
+"</buddyLocatorProperties>\n"
+" \n"
+"<!-- A way to specify a preferred replication group. If specified, we "
+"try to pick a \n"
+"buddy who shares the same pool name (falling back to other buddies if not "
+"available).\n"
+"This allows the sysdmin to hint at backup buddies are picked, so for "
+"example, nodes may be \n"
+"hinted to pick buddies on a different physical rack or power supply for "
+"added fault tolerance. \n"
+"-->\n"
+"<buddyPoolName>myBuddyPoolReplicationGroup</buddyPoolName>\n"
+" \n"
+"<!-- Communication timeout for inter-buddy group organisation messages "
+"(such as assigning \n"
+"to and removing from groups, defaults to 1000. -->\n"
+"<buddyCommunicationTimeout>2000</buddyCommunicationTimeout>\n"
+"\n"
+"<!-- Whether data is removed from old owners when gravitated to a new "
+"owner. \n"
+"Defaults to true. -->\n"
+"<dataGravitationRemoveOnFind>true</dataGravitationRemoveOnFind>\n"
+"\n"
+"<!-- Whether backup nodes can respond to data gravitation requests, or "
+"only the data owner \n"
+"is supposed to respond. Defaults to true. -->\n"
+"<dataGravitationSearchBackupTrees>true</"
+"dataGravitationSearchBackupTrees>\n"
+"\n"
+"<!-- Whether all cache misses result in a data gravitation request. "
+"Defaults to false, \n"
+"requiring callers to enable data gravitation on a per-invocation basis using "
+"the Options API. \n"
+"-->\n"
+"<autoDataGravitation>false</autoDataGravitation>\n"
+"\n"
+"</config>\n"
+"</attribute>"
#. Tag: title
#: Replication.xml:141
@@ -489,3 +550,4 @@
"asynchronous invalidation works in a 'fire-and-forget' mode, where "
"invalidation messages are broadcast but doesn't block and wait for responses."
msgstr ""
+
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/State_transfer.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/State_transfer.po 2008-10-17 01:49:09 UTC (rev 6977)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/State_transfer.po 2008-10-17 05:02:31 UTC (rev 6978)
@@ -1,18 +1,20 @@
+# translation of State_transfer.po to
# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
# Automatically generated, 2007.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: State_transfer\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:44+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-10-17 12:14+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: State_transfer.xml:5
@@ -38,8 +40,7 @@
#. Tag: para
#: State_transfer.xml:11
#, no-c-format
-msgid ""
-"The state that is acquired and integrated can consist of two basic types:"
+msgid "The state that is acquired and integrated can consist of two basic types:"
msgstr ""
#. Tag: para
@@ -264,3 +265,4 @@
"activating a region will request partial state from each instance for which "
"it is serving as a backup."
msgstr ""
+
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Transactions.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Transactions.po 2008-10-17 01:49:09 UTC (rev 6977)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Transactions.po 2008-10-17 05:02:31 UTC (rev 6978)
@@ -1,18 +1,20 @@
+# translation of Transactions.po to
# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
# Automatically generated, 2007.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Transactions\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:44+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-10-17 12:15+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: Transactions.xml:5
@@ -168,6 +170,10 @@
" W\n"
" R"
msgstr ""
+"Tx1 Tx2\n"
+" R\n"
+" W\n"
+" R"
#. Tag: para
#: Transactions.xml:53
@@ -312,7 +318,7 @@
#: Transactions.xml:107
#, no-c-format
msgid "Configuration"
-msgstr ""
+msgstr "Configuración"
#. Tag: para
#: Transactions.xml:108
@@ -335,6 +341,14 @@
"<attribute name=\"NodeLockingScheme\">OPTIMISTIC</attribute>\n"
"..."
msgstr ""
+"...\n"
+"<!--\n"
+"Node locking scheme:\n"
+" OPTIMISTIC\n"
+" PESSIMISTIC (default)\n"
+"-->\n"
+"<attribute name=\"NodeLockingScheme\">OPTIMISTIC</attribute>\n"
+"..."
#. Tag: title
#: Transactions.xml:116
@@ -424,6 +438,17 @@
" }\n"
"}"
msgstr ""
+"public class JBossTransactionManagerLookup implements "
+"TransactionManagerLookup {\n"
+"\n"
+" public JBossTransactionManagerLookup() {}\n"
+"\n"
+" public TransactionManager getTransactionManager() throws Exception {\n"
+" Object tmp=new InitialContext().lookup(\"java:/TransactionManager"
+"\");\n"
+" return (TransactionManager)tmp;\n"
+" }\n"
+"}"
#. Tag: para
#: Transactions.xml:148
@@ -502,7 +527,7 @@
#: Transactions.xml:173
#, no-c-format
msgid "Example"
-msgstr ""
+msgstr "Ejemplo"
#. Tag: para
#: Transactions.xml:174
@@ -537,6 +562,26 @@
" try { tx.rollback(); } catch(Throwable t) {}\n"
"}"
msgstr ""
+"Properties prop = new Properties();\n"
+"prop.put(Context.INITIAL_CONTEXT_FACTORY, \"org.jboss.cache.transaction."
+"DummyContextFactory\");\n"
+"User Transaction tx=(UserTransaction)new InitialContext(prop).lookup"
+"(\"UserTransaction\");\n"
+"TreeCache tree = new TreeCache();\n"
+"PropertyConfigurator config = new PropertyConfigurator();\n"
+"config.configure(tree, \"META-INF/replSync-service.xml\");\n"
+"tree.createService(); // not necessary\n"
+"tree.startService(); // kick start tree cache\n"
+"\n"
+"try {\n"
+" tx.begin();\n"
+" tree.put(\"/classes/cs-101\", \"description\", \"the basics\");\n"
+" tree.put(\"/classes/cs-101\", \"teacher\", \"Ben\");\n"
+" tx.commit();\n"
+"}\n"
+"catch(Throwable ex) {\n"
+" try { tx.rollback(); } catch(Throwable t) {}\n"
+"}"
#. Tag: para
#: Transactions.xml:178
@@ -553,6 +598,8 @@
"UserTransaction tx = new DummyUserTransaction(DummyTransactionManager."
"getInstance());"
msgstr ""
+"UserTransaction tx = new DummyUserTransaction(DummyTransactionManager."
+"getInstance());"
#. Tag: para
#: Transactions.xml:184
@@ -577,3 +624,4 @@
"commit protocol applying the modifications to all nodes in the cluster, the "
"transaction is rolled back."
msgstr ""
+
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Treecache_marshaller.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Treecache_marshaller.po 2008-10-17 01:49:09 UTC (rev 6977)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/es-ES/Treecache_marshaller.po 2008-10-17 05:02:31 UTC (rev 6978)
@@ -1,24 +1,26 @@
+# translation of Treecache_marshaller.po to
# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2008 Free Software Foundation, Inc.
# Automatically generated, 2007.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Treecache_marshaller\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:44+0000\n"
-"PO-Revision-Date: 2001-02-09 01:25+0100\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-10-17 12:17+1000\n"
+"Last-Translator: Angela Garcia\n"
+"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: Treecache_marshaller.xml:5
#, no-c-format
msgid "TreeCacheMarshaller"
-msgstr ""
+msgstr "TreeCacheMarshaller "
#. Tag: para
#: Treecache_marshaller.xml:6
@@ -118,6 +120,57 @@
" */\n"
"void unregisterClassLoader(String fqn) throws RegionNotFoundException;"
msgstr ""
+"/**\n"
+" * Sets whether marshalling uses scoped class loaders on a per region "
+"basis.\n"
+" *\n"
+" * This property must be set to true before any call to\n"
+" * {@link #registerClassLoader(String, ClassLoader)} or\n"
+" * {@link #activateRegion(String)}\n"
+" *\n"
+" * @param isTrue\n"
+" */\n"
+"void setUseRegionBasedMarshalling(boolean isTrue);\n"
+"\n"
+"/**\n"
+" * Gets whether marshalling uses scoped class loaders on a per region "
+"basis.\n"
+" */\n"
+"boolean getUseRegionBasedMarshalling();\n"
+"\n"
+"/**\n"
+" * Registers the given classloader with <code>TreeCacheMarshaller</code> "
+"for\n"
+" * use in unmarshalling replicated objects for the specified region.\n"
+" *\n"
+" * @param fqn The fqn region. This fqn and its children will use this "
+"classloader for \n"
+" * (un)marshalling.\n"
+" * @param cl The class loader to use\n"
+" *\n"
+" * @throws RegionNameConflictException if <code>fqn</code> is a descendant "
+"of\n"
+" * an FQN that already has a classloader registered.\n"
+" * @throws IllegalStateException if <code>useMarshalling</code> is "
+"<code>false</code>\n"
+" */\n"
+"void registerClassLoader(String fqn, ClassLoader cl) throws "
+"RegionNameConflictException;\n"
+"\n"
+"/**\n"
+" * Instructs the <code>TreeCacheMarshaller</code> to no longer use a "
+"special\n"
+" * classloader to unmarshal replicated objects for the specified region.\n"
+" *\n"
+" * @param fqn The fqn of the root node of region.\n"
+" *\n"
+" * @throws RegionNotFoundException if no classloader has been registered "
+"for\n"
+" * <code>fqn</code>.\n"
+" * @throws IllegalStateException if <code>useMarshalling</code> is "
+"<code>false</code>\n"
+" */\n"
+"void unregisterClassLoader(String fqn) throws RegionNotFoundException;"
#. Tag: para
#: Treecache_marshaller.xml:18
@@ -132,9 +185,8 @@
#. Tag: programlisting
#: Treecache_marshaller.xml:21
#, no-c-format
-msgid ""
-"<attribute name=\"UseRegionBasedMarshalling\">true</attribute>"
-msgstr ""
+msgid "<attribute name=\"UseRegionBasedMarshalling\">true</attribute>"
+msgstr "<attribute name=\"UseRegionBasedMarshalling\">true</attribute>"
#. Tag: para
#: Treecache_marshaller.xml:22
@@ -224,8 +276,7 @@
#. Tag: para
#: Treecache_marshaller.xml:55
#, no-c-format
-msgid ""
-"Replication to B fails, as the required classloader is not yet registered."
+msgid "Replication to B fails, as the required classloader is not yet registered."
msgstr ""
#. Tag: para
@@ -351,6 +402,71 @@
"RegionNameConflictException,\n"
"CacheException;"
msgstr ""
+"/**\n"
+" * Sets whether the entire tree is inactive upon startup, only responding\n"
+" * to replication messages after {@link #activateRegion(String)} is\n"
+" * called to activate one or more parts of the tree.\n"
+" * <p>\n"
+" * This property is only relevant if {@link #getUseRegionBasedMarshalling()} "
+"is\n"
+" * <code>true</code>.\n"
+" *\n"
+" */\n"
+"public void setInactiveOnStartup(boolean inactiveOnStartup);\n"
+"\n"
+"/**\n"
+" * Gets whether the entire tree is inactive upon startup, only responding\n"
+" * to replication messages after {@link #activateRegion(String)} is\n"
+" * called to activate one or more parts of the tree.\n"
+" * <p>\n"
+" * This property is only relevant if {@link #getUseRegionBasedMarshalling()} "
+"is\n"
+" * <code>true</code>.\n"
+" */\n"
+"public boolean isInactiveOnStartup();\n"
+"\n"
+"/**\n"
+" * Causes the cache to transfer state for the subtree rooted at\n"
+" * <code>subtreeFqn</code> and to begin accepting replication messages\n"
+" * for that subtree.\n"
+" * \n"
+" * NOTE: This method will cause the creation of a node\n"
+" * in the local tree at <code>subtreeFqn</code> whether or not that\n"
+" * node exists anywhere else in the cluster. If the node does not exist\n"
+" * elsewhere, the local node will be empty. The creation of this node will\n"
+" * not be replicated.\n"
+" *\n"
+" * @param subtreeFqn Fqn string indicating the uppermost node in the\n"
+" * portion of the tree that should be activated.\n"
+" *\n"
+" * @throws RegionNotEmptyException if the node <code>subtreeFqn</code>\n"
+" * exists and has either data or children\n"
+" *\n"
+" * @throws IllegalStateException if useRegionBasedMarshalling is "
+"<code>false</code>\n"
+" */\n"
+"public void activateRegion(String subtreeFqn)\n"
+" throws RegionNotEmptyException, RegionNameConflictException, "
+"CacheException;\n"
+"\n"
+"/**\n"
+" * Causes the cache to stop accepting replication events for the subtree\n"
+" * rooted at <code>subtreeFqn</code> and evict all nodes in that subtree.\n"
+" *\n"
+" * @param subtreeFqn Fqn string indicating the uppermost node in the\n"
+" * portion of the tree that should be activated.\n"
+" * @throws RegionNameConflictException if <code>subtreeFqn</code> indicates\n"
+" * a node that is part of another subtree that is being specially\n"
+" * managed (either by activate/inactiveRegion()\n"
+" * or by registerClassLoader())\n"
+" * @throws CacheException if there is a problem evicting nodes\n"
+" *\n"
+" * @throws IllegalStateException if useRegionBasedMarshalling is "
+"<code>false</code>\n"
+" */\n"
+"public void inactivateRegion(String subtreeFqn) throws "
+"RegionNameConflictException,\n"
+"CacheException;"
#. Tag: para
#: Treecache_marshaller.xml:79
@@ -367,7 +483,7 @@
#: Treecache_marshaller.xml:82
#, no-c-format
msgid "<attribute name=\"InactiveOnStartup\">true</attribute>"
-msgstr ""
+msgstr "<attribute name=\"InactiveOnStartup\">true</attribute>"
#. Tag: para
#: Treecache_marshaller.xml:83
@@ -479,6 +595,33 @@
" </mbean>\n"
"</server>"
msgstr ""
+"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n"
+"<server>\n"
+" <classpath codebase=\"./lib\" archives=\"jboss-cache.jar, jgroups.jar"
+"\" />\n"
+"\n"
+" <!-- "
+"==================================================================== --"
+">\n"
+" <!-- Defines TreeCache "
+"configuration -->\n"
+" <!-- "
+"==================================================================== --"
+">\n"
+" <mbean code=\"org.jboss.cache.TreeCache\" name=\"com.xyz.cache:"
+"service=SharedCache\">\n"
+"\n"
+" .......\n"
+"\n"
+" <!-- Configure Marshalling -->\n"
+" <attribute name=\"getUseRegionBasedMarshalling\">true</"
+"attribute>\n"
+" <attribute name=\"InactiveOnStartup\">true</attribute>\n"
+"\n"
+" ........\n"
+"\n"
+" </mbean>\n"
+"</server>"
#. Tag: para
#: Treecache_marshaller.xml:104
@@ -538,6 +681,48 @@
" }\n"
"}"
msgstr ""
+"package example;\n"
+"\n"
+"import javax.management.MalformedObjectNameException;\n"
+"import javax.management.ObjectName;\n"
+"import javax.servlet.ServletContextEvent;\n"
+"import javax.servlet.ServletContextListener;\n"
+"\n"
+"import org.jboss.cache.TreeCacheMBean;\n"
+"import org.jboss.mx.util.MBeanProxyExt;\n"
+"\n"
+"public class ActiveInactiveRegionExample implements ServletContextListener\n"
+"{\n"
+" private TreeCacheMBean cache;\n"
+"\n"
+" public void contextInitialized(ServletContextEvent arg0) {\n"
+" try {\n"
+" findCache();\n"
+"\n"
+" cache.registerClassLoader(\"/example\", Thread.currentThread()."
+"getContextClassLoader());\n"
+" cache.activeRegion(\"/example\");\n"
+" }\n"
+" catch (Exception e) {\n"
+" // ... handle exception\n"
+" }\n"
+"\n"
+" }\n"
+"\n"
+" public void contextDestroyed(ServletContextEvent arg0) {\n"
+" cache.inactivateRegion(\"/example\");\n"
+" cache.unregisterClassLoader(\"/example\");\n"
+" }\n"
+"\n"
+" private void findCache() throws MalformedObjectNameException {\n"
+" // Find the shared cache service in JMX and create a proxy to it\n"
+" ObjectName cacheServiceName_ = new ObjectName(\"com.xyz.cache:"
+"service=SharedCache\");\n"
+" // Create Proxy-Object for this service\n"
+" cache = (TreeCacheMBean) MBeanProxyExt.create(TreeCacheMBean.class, "
+"cacheServiceName_);\n"
+" }\n"
+"}"
#. Tag: para
#: Treecache_marshaller.xml:108
@@ -623,6 +808,45 @@
" */\n"
" void setRegionManager(RegionManager manager);"
msgstr ""
+"/**\n"
+" * Fetch a portion of the state for this cache from secondary storage\n"
+" * (disk, DB) and return it as a byte buffer.\n"
+" * This is for activation of a portion of new cache from a remote cache.\n"
+" * The new cache would then call {@link #storeState(byte[], Fqn)}.\n"
+" *\n"
+" * @param subtree Fqn naming the root (i.e. highest level parent) node "
+"of\n"
+" * the subtree for which state is requested.\n"
+" *\n"
+" * @see org.jboss.cache.TreeCache#activateRegion(String)\n"
+" */\n"
+" byte[] loadState(Fqn subtree) throws Exception;\n"
+"\n"
+" /**\n"
+" * Store the given portion of the cache tree's state in secondary "
+"storage.\n"
+" * Overwrite whatever is currently in secondary storage.\n"
+" *\n"
+" * @param state the state to store\n"
+" * @param subtree Fqn naming the root (i.e. highest level parent) node "
+"of\n"
+" * the subtree included in <code>state</code>.\n"
+" */\n"
+" void storeState(byte[] state, Fqn subtree) throws Exception;\n"
+"\n"
+" /**\n"
+" * Sets the RegionManager this object should use to manage\n"
+" * marshalling/unmarshalling of different regions using different\n"
+" * classloaders.\n"
+" * \n"
+" * NOTE: This method is only intended to be used\n"
+" * by the <code>TreeCache</code> instance this cache loader is\n"
+" * associated with.\n"
+" * \n"
+" *\n"
+" * @param manager the region manager to use, or <code>null</code>.\n"
+" */\n"
+" void setRegionManager(RegionManager manager);"
#. Tag: para
#: Treecache_marshaller.xml:124
@@ -706,3 +930,6 @@
"<!-- takes values such as 1.2.3, 1.2.4 and 1.3.0 -->\n"
"<attribute name=\"ReplicationVersion\">1.2.4</attribute>"
msgstr ""
+"<!-- takes values such as 1.2.3, 1.2.4 and 1.3.0 -->\n"
+"<attribute name=\"ReplicationVersion\">1.2.4</attribute>"
+
More information about the jbosscache-commits
mailing list