JBoss Cache SVN: r8046 - enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE.
by jbosscache-commits@lists.jboss.org
Author: jdimanos(a)jboss.com
Date: 2009-05-02 21:00:18 -0400 (Sat, 02 May 2009)
New Revision: 8046
Modified:
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/JBoss_Cache_Tree_Cache_Guide.po
Log:
update
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/JBoss_Cache_Tree_Cache_Guide.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/JBoss_Cache_Tree_Cache_Guide.po 2009-05-02 11:39:02 UTC (rev 8045)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/JBoss_Cache_Tree_Cache_Guide.po 2009-05-03 01:00:18 UTC (rev 8046)
@@ -1,3 +1,4 @@
+# translation of JBoss_Cache_Tree_Cache_Guide.po to
# Language de-DE translations for JBoss_EAP package.
# Automatically generated, 2009.
#
@@ -3,19 +4,20 @@
msgid ""
msgstr ""
-"Project-Id-Version: JBoss_EAP 4_3\n"
+"Project-Id-Version: JBoss_Cache_Tree_Cache_Guide\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2009-01-15 01:03+0000\n"
-"PO-Revision-Date: 2009-01-15 01:03+0000\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2009-05-03 11:00+1000\n"
+"Last-Translator: \n"
+"Language-Team: <en(a)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_Cache_Tree_Cache_Guide.xml:6
#, no-c-format
msgid "Preface"
-msgstr ""
+msgstr "Vorwort"
#. Tag: para
@@ -30,6 +32,12 @@
"transactionally in a cluster, is described separately in a similar user "
"guide."
msgstr ""
+"Dieses und seine Begleitdokumente beschreiben JBoss Cache's TreeCache, ein "
+"repliziertes, transaktionales Cache mit Baumstruktur. JBoss Cache's PojoCache, "
+"ein \"objektorientiertes\" Cache, das die AOP-aktivierte Subklasse von TreeCache, "
+"ist und die transaktionale Einfügung und Replikation von Plain Old Java Objects "
+"(POJOs) in ein Cluster gestattet, wird in einem ähnlichen Benutzerhandbuch "
+"separat beschrieben."
#. Tag: para
#: JBoss_Cache_Tree_Cache_Guide.xml:10
@@ -43,6 +51,14 @@
"the JBossAOP standalone subsystem. PojoCache, documented separately, is the "
"first in the market to provide a POJO cache functionality."
msgstr ""
+"Das TreeCache ist vollständig konfigurierbar. Aspekte des Systems wie "
+"Replikationsmechanismen, Transaktionsisolationsebenen, Eviction Policies und "
+"Transaktions-Managers sind alle konfigurierbar. Das TreeCache kann auf "
+"eigenständige Weise benutzt werden - unabhängig vom JBoss Application Server "
+"oder einem anderen Applikationsserver. PojoCache erfordert hingegen sowohl "
+"das TreeCache und das JBossAOP eigenständige Subsystem. PojoCache, das "
+"separat dokumentiert ist, ist das erste auf dem Markt, das eine POJO "
+"Cache-Funktionalität bietet."
#. Tag: para
#: JBoss_Cache_Tree_Cache_Guide.xml:13
@@ -80,3 +96,4 @@
"is a product in JBoss Professional Open Source <ulink url=\"http://www.jboss."
"com/products/index\">JEMS</ulink> (JBoss Enterprise Middleware Suite)."
msgstr ""
+
15 years, 7 months
JBoss Cache SVN: r8045 - enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE.
by jbosscache-commits@lists.jboss.org
Author: jdimanos(a)jboss.com
Date: 2009-05-02 07:39:02 -0400 (Sat, 02 May 2009)
New Revision: 8045
Modified:
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/State_transfer.po
Log:
update
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/State_transfer.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/State_transfer.po 2009-05-02 00:32:34 UTC (rev 8044)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/State_transfer.po 2009-05-02 11:39:02 UTC (rev 8045)
@@ -8,7 +8,7 @@
"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: 2009-05-02 10:32+1000\n"
+"PO-Revision-Date: 2009-05-02 21:32+1000\n"
"Last-Translator: \n"
"Language-Team: <en(a)li.org>\n"
"MIME-Version: 1.0\n"
@@ -30,21 +30,24 @@
"prepares itself to begin providing a service by acquiring the current state "
"from another cache instance and integrating that state into its own state."
msgstr ""
-"\"Status-Transfer\" bezieht sich auf den Prozess mittels dessen by which a JBoss Cache instance "
-"prepares itself to begin providing a service by acquiring the current state "
-"from another cache instance and integrating that state into its own state."
+"\"Status-Transfer\" bezieht sich auf den Prozess mittels dessen eine JBoss Cache "
+"Instanz sich darauf vorbereitet einen Dienst bereitzustellen, indem sie den aktuellen "
+"Status einer anderen Cache-Instanz erhält und diesen Status in ihren eigenen "
+"Status integriert."
#. Tag: title
#: State_transfer.xml:10
#, no-c-format
msgid "Types of State Transfer"
-msgstr ""
+msgstr "Typen von Status-Transfer"
#. Tag: para
#: State_transfer.xml:11
#, no-c-format
msgid "The state that is acquired and integrated can consist of two basic types:"
msgstr ""
+"Der erhaltene und integrierte Status kann aus zwei grundlegenden Typen "
+"bestehen:"
#. Tag: para
#: State_transfer.xml:16
@@ -56,6 +59,12 @@
"the recipient deserializes the data, creates corresponding nodes in its own "
"in-memory tree, and populates them with the transferred data."
msgstr ""
+"\"Transienter\" oder \"in-memory\" (speicherinterner) Status. Bestehend aus "
+"dem tatsächlichen speicherinternen Status einer anderen Cache-Instanz -- "
+"den Inhalten verschiedener speicherinterner Nodes im Cache die den Status liefert "
+"werden serialisiert und übertragen; der Empfänger deserialisiert die Daten "
+"(d.h. wandelt diese seriell-parallel), erstellt entsprechende Nodes in seinem "
+"eigenem in-memory Baum und füllt diese mit den übertragenen Daten."
#. Tag: para
#: State_transfer.xml:19
@@ -64,6 +73,9 @@
"\"In-memory\" state transfer is enabled by setting the cache's "
"<literal>FetchInMemoryState</literal> property to <literal>true</literal>."
msgstr ""
+"\"In-memory\" Status-Transfer wird durch Einstellung der "
+"<literal>FetchInMemoryState</literal>-Property des Cache auf "
+"<literal>true</literal> aktiviert."
#. Tag: para
#: State_transfer.xml:24
@@ -74,6 +86,11 @@
"deserialized and transferred; the recipient passes the data to its own cache "
"loader, which persists it to the recipient's persistent store."
msgstr ""
+"\"Persistenter\" Status. Gilt nur, wenn ein nicht freigegebener (non-shared) "
+"Cache-Lader verwendet wird. Der im Status-Provider des Caches gespeicherte "
+"Status wird deserialisiert (seriell-parallel) und übertragen; "
+"der Empfänger leitet die Daten an seinen eigenen Cache-Lader weiter, der"
+"der diese im persistenten Speicher des Empfängers persistiert."
#. Tag: para
#: State_transfer.xml:27
@@ -85,6 +102,12 @@
"chain, only one can have this property set to true; otherwise you will get "
"an exception at startup."
msgstr ""
+"\"Persistenter\" Status-Transfer wird durch Einstellung der "
+"<literal>CacheLoaderFetchPersistentState</literal>-Property des "
+"Cache Laders auf <literal>true</literal> aktiviert. Werden mehrere "
+"Cache-Lader in einer Kette konfiguriert, so kann diese Property nur bei einem "
+"auf \"true\" eingestellt sein, da andernfalls beim Startup eine Ausnahme "
+"gemeldet wird."
#. Tag: para
#: State_transfer.xml:30
@@ -105,6 +128,8 @@
"Which of these types of state transfer is appropriate depends on the usage "
"of the cache."
msgstr ""
+"Welcher Typ von Status-Transfer passend ist, hängt von der Verwendung des "
+"Cache ab."
#. Tag: para
#: State_transfer.xml:40
@@ -149,7 +174,7 @@
#: State_transfer.xml:58
#, no-c-format
msgid "When State Transfer Occurs"
-msgstr ""
+msgstr "Wenn Status-Transfer erfolgt"
#. Tag: para
#: State_transfer.xml:59
@@ -170,6 +195,9 @@
"If either in-memory or persistent state transfer is enabled, state transfer "
"will occur at the following times:"
msgstr ""
+"Falls entweder der speicherinterne (sog. \"in-memory\") oder persistente "
+"Status-Transfer aktiviert ist, so erfolgt der Status-Transfer zu folgenden "
+"Zeiten:"
#. Tag: para
#: State_transfer.xml:67
@@ -181,12 +209,17 @@
"operational the longest. If there is any problem receiving or integrating "
"the state, the cache will not start."
msgstr ""
+"Erster Status-Transfer. Dieser erfolgt, wenn das Cache erstmals gestartet wird "
+"(als Teil der Durchführung der <literal>start()</literal>-Methode). Es handelt sich "
+"um einen kompletten Status-Transfer. Der Status wird von der am längsten "
+"operativen Cache-Instanz abgerufen. Kommt es beim Empfang oder der Integration "
+"des Status zu einem Problem, so startet das Cache nicht."
#. Tag: para
#: State_transfer.xml:70
#, no-c-format
msgid "Initial state transfer will occur unless:"
-msgstr ""
+msgstr "Der erstmalige Status-Transfer erfolgt, außer:"
#. Tag: para
#: State_transfer.xml:75
@@ -196,6 +229,9 @@
"literal>. This property is used in conjunction with region-based "
"marshalling; see below for more on this."
msgstr ""
+"Die <literal>InactiveOnStartup</literal>-Property des Caches ist <literal>true</"
+"literal>. Diese Property wird in Verbindung mit Region Based "
+"Marshalling verwendet; mehr dazu finden Sie weiter unten."
#. Tag: para
#: State_transfer.xml:80
@@ -204,6 +240,8 @@
"Buddy replication is used. See below for more on state transfer with buddy "
"replication."
msgstr ""
+"Buddy-Replikation wird verwendet. Weiter unten finden Sie weitere Informationen "
+"zum Status-Transfer mit Buddy-Replikation."
#. Tag: para
#: State_transfer.xml:87
@@ -230,6 +268,11 @@
"literal>. This suppresses initial state transfer, which would fail due to "
"the inability to deserialize the transferred state."
msgstr ""
+"Wird Region Based Marshalling verwendet, so ist die "
+"<literal>InactiveOnStartup</literal>-Property des Cache auf <literal>true</"
+"literal> eingestellt. Dies unterdrückt den erstmaligen Status-Transfer, der aufgrund "
+"des Unvermögens den übertragenen Status zu deserialisieren (d.h. seriell-parallel "
+"zu wandeln) fehlschlagen würde."
#. Tag: para
#: State_transfer.xml:95
15 years, 7 months
JBoss Cache SVN: r8044 - enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE.
by jbosscache-commits@lists.jboss.org
Author: jdimanos(a)jboss.com
Date: 2009-05-01 20:32:34 -0400 (Fri, 01 May 2009)
New Revision: 8044
Modified:
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/State_transfer.po
Log:
update
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/State_transfer.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/State_transfer.po 2009-05-01 12:41:56 UTC (rev 8043)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/State_transfer.po 2009-05-02 00:32:34 UTC (rev 8044)
@@ -1,24 +1,26 @@
+# 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, 2009 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: 2009-05-02 10:32+1000\n"
+"Last-Translator: \n"
+"Language-Team: <en(a)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
#, no-c-format
msgid "State Transfer"
-msgstr ""
+msgstr "Status-Transfer"
#. Tag: para
#: State_transfer.xml:6
@@ -28,6 +30,9 @@
"prepares itself to begin providing a service by acquiring the current state "
"from another cache instance and integrating that state into its own state."
msgstr ""
+"\"Status-Transfer\" bezieht sich auf den Prozess mittels dessen by which a JBoss Cache instance "
+"prepares itself to begin providing a service by acquiring the current state "
+"from another cache instance and integrating that state into its own state."
#. Tag: title
#: State_transfer.xml:10
@@ -38,8 +43,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 +268,4 @@
"activating a region will request partial state from each instance for which "
"it is serving as a backup."
msgstr ""
+
15 years, 7 months
JBoss Cache SVN: r8043 - enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE.
by jbosscache-commits@lists.jboss.org
Author: jdimanos(a)jboss.com
Date: 2009-05-01 08:41:56 -0400 (Fri, 01 May 2009)
New Revision: 8043
Modified:
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Replication.po
Log:
update
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Replication.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Replication.po 2009-05-01 12:26:40 UTC (rev 8042)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Replication.po 2009-05-01 12:41:56 UTC (rev 8043)
@@ -1,24 +1,26 @@
+# translation of Replication.po to
# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2009 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: 2009-05-01 22:36+1000\n"
+"Last-Translator: \n"
+"Language-Team: <en(a)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
#, no-c-format
msgid "Clustered Caches"
-msgstr ""
+msgstr "Geclusterte Caches"
#. Tag: para
#: Replication.xml:6
@@ -34,7 +36,7 @@
#: Replication.xml:10
#, no-c-format
msgid "Local Cache"
-msgstr ""
+msgstr "Lokales Cache"
#. Tag: para
#: Replication.xml:11
@@ -50,7 +52,7 @@
#: Replication.xml:17
#, no-c-format
msgid "Clustered Cache - Using Replication"
-msgstr ""
+msgstr "Geclustertes Cache - Verwendung von Replikation"
#. Tag: para
#: Replication.xml:18
@@ -94,7 +96,7 @@
#: Replication.xml:28
#, no-c-format
msgid "Replicated Caches and Transactions"
-msgstr ""
+msgstr "Replizierte Caches und Transaktionen"
#. Tag: para
#: Replication.xml:29
@@ -173,7 +175,7 @@
#: Replication.xml:55
#, no-c-format
msgid "Buddy Replication"
-msgstr ""
+msgstr "Buddy-Replikation"
#. Tag: para
#: Replication.xml:56
@@ -213,7 +215,7 @@
#: Replication.xml:66
#, no-c-format
msgid "Selecting Buddies"
-msgstr ""
+msgstr "Auswahl von Buddies"
#. Tag: para
#: Replication.xml:67
@@ -236,6 +238,8 @@
"The <literal>NextMemberBuddyLocator</literal> takes in 2 parameters, both "
"optional."
msgstr ""
+"Der <literal>NextMemberBuddyLocator</literal> nimmt 2 Parameters, beide "
+"sind optional."
#. Tag: para
#: Replication.xml:73
@@ -259,7 +263,7 @@
#: Replication.xml:83
#, no-c-format
msgid "BuddyPools"
-msgstr ""
+msgstr "BuddyPools"
#. Tag: para
#: Replication.xml:84
@@ -282,7 +286,7 @@
#: Replication.xml:90
#, no-c-format
msgid "Failover"
-msgstr ""
+msgstr "Failover"
#. Tag: para
#: Replication.xml:91
@@ -367,7 +371,7 @@
#: Replication.xml:116
#, no-c-format
msgid "Implementation"
-msgstr ""
+msgstr "Implementierung"
#. Tag: title
#: Replication.xml:119
@@ -381,7 +385,7 @@
#: Replication.xml:130
#, no-c-format
msgid "Configuration"
-msgstr ""
+msgstr "Konfiguration"
#. Tag: programlisting
#: Replication.xml:132
@@ -447,12 +451,71 @@
"</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
#, no-c-format
msgid "Clustered Cache - Using Invalidation"
-msgstr ""
+msgstr "Gelustertes Cache - Verwendung von Invalidierung"
#. Tag: para
#: Replication.xml:142
@@ -489,3 +552,4 @@
"asynchronous invalidation works in a 'fire-and-forget' mode, where "
"invalidation messages are broadcast but doesn't block and wait for responses."
msgstr ""
+
15 years, 7 months
JBoss Cache SVN: r8042 - enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE.
by jbosscache-commits@lists.jboss.org
Author: jdimanos(a)jboss.com
Date: 2009-05-01 08:26:40 -0400 (Fri, 01 May 2009)
New Revision: 8042
Modified:
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Mgmt_information.po
Log:
update
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Mgmt_information.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Mgmt_information.po 2009-05-01 11:47:01 UTC (rev 8041)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Mgmt_information.po 2009-05-01 12:26:40 UTC (rev 8042)
@@ -8,7 +8,7 @@
"Project-Id-Version: Mgmt_information\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-09-21 04:44+0000\n"
-"PO-Revision-Date: 2009-05-01 21:45+1000\n"
+"PO-Revision-Date: 2009-05-01 22:26+1000\n"
"Last-Translator: \n"
"Language-Team: <en(a)li.org>\n"
"MIME-Version: 1.0\n"
@@ -36,7 +36,7 @@
#: Mgmt_information.xml:10
#, no-c-format
msgid "JBoss Cache MBeans"
-msgstr ""
+msgstr "JBoss Cache MBeans"
#. Tag: para
#: Mgmt_information.xml:11
@@ -68,7 +68,7 @@
#: Mgmt_information.xml:20
#, no-c-format
msgid "JBoss Cache Statistics"
-msgstr ""
+msgstr "JBoss Cache Statistiken"
#. Tag: para
#: Mgmt_information.xml:21
@@ -99,7 +99,7 @@
#: Mgmt_information.xml:27
#, no-c-format
msgid "Each interceptor provides the following common operations and attributes."
-msgstr ""
+msgstr "Jeder Interzeptor liefert folgende gängige Operationen und Attribute."
#. Tag: para
#: Mgmt_information.xml:32
@@ -108,12 +108,14 @@
"dumpStatistics - returns a Map containing the interceptor's attributes and "
"values."
msgstr ""
+"dumpStatistics - gibt eine Map wieder, die die Attribute und Werte des "
+"Interzeptors enthält."
#. Tag: para
#: Mgmt_information.xml:35
#, no-c-format
msgid "resetStatistics - resets all statistics maintained by the interceptor."
-msgstr ""
+msgstr "resetStatistics - setzt alle durch den Interzeptor gewarteten Statistiken zurück."
#. Tag: para
#: Mgmt_information.xml:38
@@ -122,6 +124,8 @@
"setStatisticsEnabled(boolean) - allows statistics to be disabled for a "
"specific interceptor."
msgstr ""
+"setStatisticsEnabled(boolean) - gestattet die Deaktivierung von Statistiken "
+"für einen bestimmten Interzeptor."
#. Tag: para
#: Mgmt_information.xml:41
@@ -130,48 +134,50 @@
"The following table describes the statistics currently available for JBoss "
"Cache."
msgstr ""
+"Die folgende Tabelle beschreibt die derzeit für JBoss Cache verfügbaren "
+"Statistiken."
#. Tag: title
#: Mgmt_information.xml:45
#, no-c-format
msgid "JBoss Cache Management Statistics"
-msgstr ""
+msgstr "JBoss Cache Management Statistiken"
#. Tag: entry
#: Mgmt_information.xml:53
#, no-c-format
msgid "MBean Name"
-msgstr ""
+msgstr "MBean Name"
#. Tag: entry
#: Mgmt_information.xml:56
#, no-c-format
msgid "Attribute"
-msgstr ""
+msgstr "Attribut"
#. Tag: entry
#: Mgmt_information.xml:59
#, no-c-format
msgid "Type"
-msgstr ""
+msgstr "Typ"
#. Tag: entry
#: Mgmt_information.xml:62
#, no-c-format
msgid "Description"
-msgstr ""
+msgstr "Beschreibung"
#. Tag: entry
#: Mgmt_information.xml:69
#, no-c-format
msgid "ActivationInterceptor"
-msgstr ""
+msgstr "ActivationInterceptor"
#. Tag: entry
#: Mgmt_information.xml:72
#, no-c-format
msgid "Activations"
-msgstr ""
+msgstr "Aktivierungen"
#. Tag: entry
#: Mgmt_information.xml:75 Mgmt_information.xml:89 Mgmt_information.xml:103
@@ -182,43 +188,43 @@
#: Mgmt_information.xml:341 Mgmt_information.xml:355
#, no-c-format
msgid "long"
-msgstr ""
+msgstr "lang"
#. Tag: entry
#: Mgmt_information.xml:78
#, no-c-format
msgid "Number of passivated nodes that have been activated."
-msgstr ""
+msgstr "Anzahl passivierter Nodes, die aktiviert wurden."
#. Tag: entry
#: Mgmt_information.xml:83 Mgmt_information.xml:97
#, no-c-format
msgid "CacheLoaderInterceptor"
-msgstr ""
+msgstr "CacheLoaderInterceptor"
#. Tag: entry
#: Mgmt_information.xml:86
#, no-c-format
msgid "CacheLoaderLoads"
-msgstr ""
+msgstr "CacheLoaderLoads"
#. Tag: entry
#: Mgmt_information.xml:92
#, no-c-format
msgid "Number of nodes loaded through a cache loader."
-msgstr ""
+msgstr "Anzahl der durch einen Cache-Lader geladenen Nodes."
#. Tag: entry
#: Mgmt_information.xml:100
#, no-c-format
msgid "CacheLoaderMisses"
-msgstr ""
+msgstr "CacheLoaderMisses"
#. Tag: entry
#: Mgmt_information.xml:106
#, no-c-format
msgid "Number of unsuccessful attempts to load a node through a cache loader."
-msgstr ""
+msgstr "Anzahl erfolgloser Versuche einen Node durch einen Cache-Lader zu laden."
#. Tag: entry
#: Mgmt_information.xml:111 Mgmt_information.xml:125 Mgmt_information.xml:139
@@ -227,49 +233,49 @@
#: Mgmt_information.xml:237 Mgmt_information.xml:251 Mgmt_information.xml:265
#, no-c-format
msgid "CacheMgmtInterceptor"
-msgstr ""
+msgstr "CacheMgmtInterceptor"
#. Tag: entry
#: Mgmt_information.xml:114
#, no-c-format
msgid "Hits"
-msgstr ""
+msgstr "Hits"
#. Tag: entry
#: Mgmt_information.xml:120
#, no-c-format
msgid "Number of successful attribute retrievals."
-msgstr ""
+msgstr "Anzahl erfolgreicher Attributabrufe."
#. Tag: entry
#: Mgmt_information.xml:128
#, no-c-format
msgid "Misses"
-msgstr ""
+msgstr "Misses"
#. Tag: entry
#: Mgmt_information.xml:134
#, no-c-format
msgid "Number of unsuccessful attribute retrievals."
-msgstr ""
+msgstr "Anzahl erfolgloser Attributabrufe."
#. Tag: entry
#: Mgmt_information.xml:142
#, no-c-format
msgid "Stores"
-msgstr ""
+msgstr "Stores"
#. Tag: entry
#: Mgmt_information.xml:148
#, no-c-format
msgid "Number of attribute store operations."
-msgstr ""
+msgstr "Anzahl von Attributspeichervorgängen."
#. Tag: entry
#: Mgmt_information.xml:156
#, no-c-format
msgid "Evictions"
-msgstr ""
+msgstr "Evictions"
#. Tag: entry
#: Mgmt_information.xml:162
@@ -281,61 +287,61 @@
#: Mgmt_information.xml:170
#, no-c-format
msgid "NumberOfAttributes"
-msgstr ""
+msgstr "NumberOfAttributes"
#. Tag: entry
#: Mgmt_information.xml:173 Mgmt_information.xml:187
#, no-c-format
msgid "<entry>int</entry>"
-msgstr ""
+msgstr "<entry>int</entry>"
#. Tag: entry
#: Mgmt_information.xml:176
#, no-c-format
msgid "Number of attributes currently cached."
-msgstr ""
+msgstr "Anzahl aktuell gecachter Attribute."
#. Tag: entry
#: Mgmt_information.xml:184
#, no-c-format
msgid "NumberOfNodes"
-msgstr ""
+msgstr "NumberOfNodes"
#. Tag: entry
#: Mgmt_information.xml:190
#, no-c-format
msgid "Number of nodes currently cached."
-msgstr ""
+msgstr "Anzahl aktuell gecachter Nodes."
#. Tag: entry
#: Mgmt_information.xml:198
#, no-c-format
msgid "ElapsedTime"
-msgstr ""
+msgstr "ElapsedTime"
#. Tag: entry
#: Mgmt_information.xml:204
#, no-c-format
msgid "Number of seconds that the cache has been running."
-msgstr ""
+msgstr "Anzahl von Sekunden, die das Cache läuft."
#. Tag: entry
#: Mgmt_information.xml:212
#, no-c-format
msgid "TimeSinceReset"
-msgstr ""
+msgstr "TimeSinceReset"
#. Tag: entry
#: Mgmt_information.xml:218
#, no-c-format
msgid "Number of seconds since the cache statistics have been reset."
-msgstr ""
+msgstr "Anzahl von Sekunden seit die Cache-Statistiken zurückgesetzt wurden."
#. Tag: entry
#: Mgmt_information.xml:226
#, no-c-format
msgid "AverageReadTime"
-msgstr ""
+msgstr "AverageReadTime"
#. Tag: entry
#: Mgmt_information.xml:232
@@ -349,7 +355,7 @@
#: Mgmt_information.xml:240
#, no-c-format
msgid "AverageWriteTime"
-msgstr ""
+msgstr "AverageWriteTime"
#. Tag: entry
#: Mgmt_information.xml:246
@@ -361,7 +367,7 @@
#: Mgmt_information.xml:254
#, no-c-format
msgid "HitMissRatio"
-msgstr ""
+msgstr "HitMissRatio"
#. Tag: entry
#: Mgmt_information.xml:257 Mgmt_information.xml:271
@@ -382,7 +388,7 @@
#: Mgmt_information.xml:268
#, no-c-format
msgid "ReadWriteRatio"
-msgstr ""
+msgstr "ReadWriteRatio"
#. Tag: entry
#: Mgmt_information.xml:274
@@ -396,25 +402,25 @@
#: Mgmt_information.xml:279
#, no-c-format
msgid "CacheStoreInterceptor"
-msgstr ""
+msgstr "CacheStoreInterceptor"
#. Tag: entry
#: Mgmt_information.xml:282
#, no-c-format
msgid "CacheLoaderStores"
-msgstr ""
+msgstr "CacheLoaderStores"
#. Tag: entry
#: Mgmt_information.xml:288
#, no-c-format
msgid "Number of nodes written to the cache loader."
-msgstr ""
+msgstr "Anzahl in den Cache-Lader geschriebener Nodes."
#. Tag: entry
#: Mgmt_information.xml:293
#, no-c-format
msgid "InvalidationInterceptor"
-msgstr ""
+msgstr "InvalidationInterceptor"
#. Tag: entry
#: Mgmt_information.xml:296
@@ -432,25 +438,25 @@
#: Mgmt_information.xml:307
#, no-c-format
msgid "PassivationInterceptor"
-msgstr ""
+msgstr "PassivationInterceptor"
#. Tag: entry
#: Mgmt_information.xml:310
#, no-c-format
msgid "Passivations"
-msgstr ""
+msgstr "Passivierungen"
#. Tag: entry
#: Mgmt_information.xml:316
#, no-c-format
msgid "Number of cached nodes that have been passivated."
-msgstr ""
+msgstr "Anzahl gecachter Nodes, die passiviert wurden."
#. Tag: entry
#: Mgmt_information.xml:321 Mgmt_information.xml:335 Mgmt_information.xml:349
#, no-c-format
msgid "TxInterceptor"
-msgstr ""
+msgstr "TxInterceptor"
#. Tag: entry
#: Mgmt_information.xml:324
@@ -522,31 +528,31 @@
#: Mgmt_information.xml:376
#, no-c-format
msgid "JBoss Cache MBean Notifications"
-msgstr ""
+msgstr "JBoss Cache MBean Benachrichtigungen"
#. Tag: entry
#: Mgmt_information.xml:380
#, no-c-format
msgid "Notification Type"
-msgstr ""
+msgstr "Benachrichtigungstyp"
#. Tag: entry
#: Mgmt_information.xml:383
#, no-c-format
msgid "Notification Data"
-msgstr ""
+msgstr "Benachrichtigungsdaten"
#. Tag: entry
#: Mgmt_information.xml:386
#, no-c-format
msgid "TreeCacheListener Event"
-msgstr ""
+msgstr "TreeCacheListener Ereignis"
#. Tag: entry
#: Mgmt_information.xml:393
#, no-c-format
msgid "org.jboss.cache.CacheStarted"
-msgstr ""
+msgstr "org.jboss.cache.CacheStarted"
#. Tag: entry
#: Mgmt_information.xml:396 Mgmt_information.xml:407
@@ -558,25 +564,25 @@
#: Mgmt_information.xml:399
#, no-c-format
msgid "cacheStarted"
-msgstr ""
+msgstr "cacheStarted"
#. Tag: entry
#: Mgmt_information.xml:404
#, no-c-format
msgid "org.jboss.cache.CacheStopped"
-msgstr ""
+msgstr "org.jboss.cache.CacheStopped"
#. Tag: entry
#: Mgmt_information.xml:410
#, no-c-format
msgid "cacheStopped"
-msgstr ""
+msgstr "cacheStopped"
#. Tag: entry
#: Mgmt_information.xml:415
#, no-c-format
msgid "org.jboss.cache.NodeCreated"
-msgstr ""
+msgstr "org.jboss.cache.NodeCreated"
#. Tag: entry
#: Mgmt_information.xml:418 Mgmt_information.xml:429 Mgmt_information.xml:440
@@ -589,73 +595,73 @@
#: Mgmt_information.xml:421
#, no-c-format
msgid "NodeCreated"
-msgstr ""
+msgstr "NodeCreated"
#. Tag: entry
#: Mgmt_information.xml:426
#, no-c-format
msgid "org.jboss.cache.NodeEvicted"
-msgstr ""
+msgstr "org.jboss.cache.NodeEvicted"
#. Tag: entry
#: Mgmt_information.xml:432
#, no-c-format
msgid "NodeEvicted"
-msgstr ""
+msgstr "NodeEvicted"
#. Tag: entry
#: Mgmt_information.xml:437
#, no-c-format
msgid "org.jboss.cache.NodeLoaded"
-msgstr ""
+msgstr "org.jboss.cache.NodeLoaded"
#. Tag: entry
#: Mgmt_information.xml:443
#, no-c-format
msgid "NodeLoaded"
-msgstr ""
+msgstr "NodeLoaded"
#. Tag: entry
#: Mgmt_information.xml:448
#, no-c-format
msgid "org.jboss.cache.NodeModifed"
-msgstr ""
+msgstr "org.jboss.cache.NodeModifed"
#. Tag: entry
#: Mgmt_information.xml:454
#, no-c-format
msgid "NodeModifed"
-msgstr ""
+msgstr "NodeModifed"
#. Tag: entry
#: Mgmt_information.xml:459
#, no-c-format
msgid "org.jboss.cache.NodeRemoved"
-msgstr ""
+msgstr "org.jboss.cache.NodeRemoved"
#. Tag: entry
#: Mgmt_information.xml:465
#, no-c-format
msgid "NodeRemoved"
-msgstr ""
+msgstr "NodeRemoved"
#. Tag: entry
#: Mgmt_information.xml:470
#, no-c-format
msgid "org.jboss.cache.NodeVisited"
-msgstr ""
+msgstr "org.jboss.cache.NodeVisited"
#. Tag: entry
#: Mgmt_information.xml:476
#, no-c-format
msgid "NodeVisited"
-msgstr ""
+msgstr "NodeVisited"
#. Tag: entry
#: Mgmt_information.xml:481
#, no-c-format
msgid "org.jboss.cache.ViewChange"
-msgstr ""
+msgstr "org.jboss.cache.ViewChange"
#. Tag: entry
#: Mgmt_information.xml:484
@@ -667,87 +673,87 @@
#: Mgmt_information.xml:487
#, no-c-format
msgid "ViewChange"
-msgstr ""
+msgstr "ViewChange"
#. Tag: entry
#: Mgmt_information.xml:492
#, no-c-format
msgid "org.jboss.cache.NodeActivate:"
-msgstr ""
+msgstr "org.jboss.cache.NodeActivate:"
#. Tag: para
#: Mgmt_information.xml:496 Mgmt_information.xml:517 Mgmt_information.xml:538
#: Mgmt_information.xml:564 Mgmt_information.xml:585
#, no-c-format
msgid "Object[0]=String: fqn"
-msgstr ""
+msgstr "Object[0]=String: fqn"
#. Tag: para
#: Mgmt_information.xml:501 Mgmt_information.xml:522 Mgmt_information.xml:543
#: Mgmt_information.xml:569 Mgmt_information.xml:590
#, no-c-format
msgid "Object[1]=Boolean: pre"
-msgstr ""
+msgstr "Object[1]=Boolean: pre"
#. Tag: entry
#: Mgmt_information.xml:508
#, no-c-format
msgid "NodeActivate"
-msgstr ""
+msgstr "NodeActivate"
#. Tag: entry
#: Mgmt_information.xml:513
#, no-c-format
msgid "org.jboss.cache.NodeEvict"
-msgstr ""
+msgstr "org.jboss.cache.NodeEvict"
#. Tag: entry
#: Mgmt_information.xml:528
#, no-c-format
msgid "NodeEvict"
-msgstr ""
+msgstr "NodeEvict"
#. Tag: entry
#: Mgmt_information.xml:533
#, no-c-format
msgid "org.jboss.cache.NodeModify"
-msgstr ""
+msgstr "org.jboss.cache.NodeModify"
#. Tag: para
#: Mgmt_information.xml:548 Mgmt_information.xml:595
#, no-c-format
msgid "Object[2]=Boolean: isLocal"
-msgstr ""
+msgstr "Object[2]=Boolean: isLocal"
#. Tag: entry
#: Mgmt_information.xml:554
#, no-c-format
msgid "NodeModify"
-msgstr ""
+msgstr "NodeModify"
#. Tag: entry
#: Mgmt_information.xml:559
#, no-c-format
msgid "org.jboss.cache.NodePassivate"
-msgstr ""
+msgstr "org.jboss.cache.NodePassivate"
#. Tag: entry
#: Mgmt_information.xml:575
#, no-c-format
msgid "NodePassivate"
-msgstr ""
+msgstr "NodePassivate"
#. Tag: entry
#: Mgmt_information.xml:580
#, no-c-format
msgid "org.jboss.cache.NodeRemove"
-msgstr ""
+msgstr "org.jboss.cache.NodeRemove"
#. Tag: entry
#: Mgmt_information.xml:601
#, no-c-format
msgid "NodeRemove"
-msgstr ""
+msgstr "NodeRemove"
#. Tag: para
#: Mgmt_information.xml:608
@@ -792,6 +798,34 @@
"// on completion of processing, unregister the listener\n"
"server.removeNotificationListener(mgmt_name, listener, filter, null);"
msgstr ""
+"MyListener listener = new MyListener();\n"
+"NotificationFilterSupport filter = null;\n"
+" \n"
+"// get reference to MBean server\n"
+"Context ic = new InitialContext();\n"
+"MBeanServerConnection server = (MBeanServerConnection)ic.lookup(\"jmx/"
+"invoker/RMIAdaptor\");\n"
+" \n"
+"// get reference to CacheMgmtInterceptor MBean\n"
+"String cache_service = \"jboss.cache:service=TomcatClusteringCache\";\n"
+"String mgmt_service = cache_service + \",treecache-"
+"interceptor=CacheMgmtInterceptor\";\n"
+"ObjectName mgmt_name = new ObjectName(mgmt_service);\n"
+" \n"
+"// configure a filter to only receive node created and removed events\n"
+"filter = new NotificationFilterSupport();\n"
+"filter.disableAllTypes();\n"
+"filter.enableType(CacheMgmtInterceptor.NOTIF_NODE_CREATED);\n"
+"filter.enableType(CacheMgmtInterceptor.NOTIF_NODE_REMOVED);\n"
+" \n"
+"// register the listener with a filter\n"
+"// leave the filter null to receive all cache events\n"
+"server.addNotificationListener(mgmt_name, listener, filter, null);\n"
+" \n"
+"// ...\n"
+" \n"
+"// on completion of processing, unregister the listener\n"
+"server.removeNotificationListener(mgmt_name, listener, filter, null);"
#. Tag: para
#: Mgmt_information.xml:612
@@ -831,6 +865,31 @@
" }\n"
"}"
msgstr ""
+"private class MyListener implements NotificationListener, Serializable {\n"
+" public void handleNotification(Notification notification, Object "
+"handback) {\n"
+" String message = notification.getMessage();\n"
+" String type = notification.getType();\n"
+" Object userData = notification.getUserData();\n"
+" System.out.println(type + \": \"+message);\n"
+" if (userData == null) {\n"
+" System.out.println(\"notification data is null\");\n"
+" }\n"
+" else if (userData instanceof String) {\n"
+" System.out.println(\"notification data: \"+(String)userData);\n"
+" }\n"
+" else if (userData instanceof Object[]) {\n"
+" Object[] ud = (Object[])userData;\n"
+" for (int i = 0; i > ud.length; i++) {\n"
+" System.out.println(\"notification data: \"+ud[i].toString());\n"
+" }\n"
+" }\n"
+" else {\n"
+" System.out.println(\"notification data class: \" + userData.getClass"
+"().getName());\n"
+" }\n"
+" }\n"
+"}"
#. Tag: para
#: Mgmt_information.xml:616
@@ -912,5 +971,5 @@
#: Mgmt_information.xml:649
#, no-c-format
msgid "CacheMgmtInterceptor MBean"
-msgstr ""
+msgstr "CacheMgmtInterceptor MBean"
15 years, 7 months
JBoss Cache SVN: r8041 - enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE.
by jbosscache-commits@lists.jboss.org
Author: jdimanos(a)jboss.com
Date: 2009-05-01 07:47:01 -0400 (Fri, 01 May 2009)
New Revision: 8041
Modified:
enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Mgmt_information.po
Log:
update
Modified: enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Mgmt_information.po
===================================================================
--- enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Mgmt_information.po 2009-05-01 11:07:43 UTC (rev 8040)
+++ enterprise-docs/tags/JBoss_EAP_4_3/Cache_Tree_Cache_Guide/de-DE/Mgmt_information.po 2009-05-01 11:47:01 UTC (rev 8041)
@@ -1,24 +1,26 @@
+# translation of Mgmt_information.po to
# Language /tmp/mike/JBEAP420/Cache translations for JBEAP package.
-# Copyright (C) 2007 Free Software Foundation, Inc.
+# Copyright (C) 2007, 2009 Free Software Foundation, Inc.
# Automatically generated, 2007.
#
msgid ""
msgstr ""
-"Project-Id-Version: JBEAP 420\n"
+"Project-Id-Version: Mgmt_information\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: 2009-05-01 21:45+1000\n"
+"Last-Translator: \n"
+"Language-Team: <en(a)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
#: Mgmt_information.xml:5
#, no-c-format
msgid "Management Information"
-msgstr ""
+msgstr "Management Informationen"
#. Tag: para
#: Mgmt_information.xml:6
@@ -96,8 +98,7 @@
#. Tag: para
#: Mgmt_information.xml:27
#, no-c-format
-msgid ""
-"Each interceptor provides the following common operations and attributes."
+msgid "Each interceptor provides the following common operations and attributes."
msgstr ""
#. Tag: para
@@ -484,8 +485,7 @@
#. Tag: entry
#: Mgmt_information.xml:358
#, no-c-format
-msgid ""
-"Number of transaction rollbacks operations performed by this interceptor."
+msgid "Number of transaction rollbacks operations performed by this interceptor."
msgstr ""
#. Tag: title
@@ -913,3 +913,4 @@
#, no-c-format
msgid "CacheMgmtInterceptor MBean"
msgstr ""
+
15 years, 7 months
JBoss Cache SVN: r8040 - core/tags/3.1.0.GA/src/main/java/org/jboss/cache.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2009-05-01 07:07:43 -0400 (Fri, 01 May 2009)
New Revision: 8040
Modified:
core/tags/3.1.0.GA/src/main/java/org/jboss/cache/RPCManagerImpl.java
Log:
Fixed bug in RPCManager
Modified: core/tags/3.1.0.GA/src/main/java/org/jboss/cache/RPCManagerImpl.java
===================================================================
--- core/tags/3.1.0.GA/src/main/java/org/jboss/cache/RPCManagerImpl.java 2009-05-01 10:59:31 UTC (rev 8039)
+++ core/tags/3.1.0.GA/src/main/java/org/jboss/cache/RPCManagerImpl.java 2009-05-01 11:07:43 UTC (rev 8040)
@@ -231,9 +231,19 @@
public void lockProcessingLock() throws InterruptedException
{
- if (!coordinationLock.readLock().tryLock(configuration.getStateRetrievalTimeout(), TimeUnit.MILLISECONDS))
+ while (true)
{
- throw new TimeoutException("Could not obtain processing lock");
+ try
+ {
+ if (!coordinationLock.readLock().tryLock(configuration.getStateRetrievalTimeout(), TimeUnit.MILLISECONDS))
+ throw new TimeoutException("Could not obtain processing lock");
+
+ return;
+ }
+ catch (InterruptedException ie)
+ {
+ Thread.currentThread().interrupt();
+ }
}
}
@@ -244,9 +254,19 @@
public void lockSuspendProcessingLock() throws InterruptedException
{
- if (!coordinationLock.writeLock().tryLock(configuration.getStateRetrievalTimeout(), TimeUnit.MILLISECONDS))
+ while (true)
{
- throw new TimeoutException("Could not obtain processing lock");
+ try
+ {
+ if (!coordinationLock.writeLock().tryLock(configuration.getStateRetrievalTimeout(), TimeUnit.MILLISECONDS))
+ throw new TimeoutException("Could not obtain processing lock");
+
+ return;
+ }
+ catch (InterruptedException ie)
+ {
+ Thread.currentThread().interrupt();
+ }
}
}
@@ -258,22 +278,43 @@
}
}
+ @Override
public void waitForFlushCompletion(long timeout) throws InterruptedException
{
- if (!flushBlockGate.await(timeout, TimeUnit.MILLISECONDS))
+ while (true)
{
- throw new TimeoutException("State retrieval timed out waiting for flush to unblock. (timeout = " + CachePrinter.prettyPrint(timeout) + ")");
+ try
+ {
+ if (!flushBlockGate.await(timeout, TimeUnit.MILLISECONDS))
+ throw new TimeoutException("State retrieval timed out waiting for flush to unblock. (timeout = " + CachePrinter.prettyPrint(timeout) + ")");
+
+ return;
+ }
+ catch (InterruptedException ie)
+ {
+ Thread.currentThread().interrupt();
+ }
}
}
-
+
+ @Override
public void waitForFlushStart(long timeout) throws InterruptedException
{
- if (!flushWaitGate.await(timeout, TimeUnit.MILLISECONDS))
+ while (true)
{
- throw new TimeoutException("State retrieval timed out waiting for flush to block. (timeout = " + CachePrinter.prettyPrint(timeout) + " )");
+ try
+ {
+ if (!flushWaitGate.await(timeout, TimeUnit.MILLISECONDS))
+ throw new TimeoutException("State retrieval timed out waiting for flush to block. (timeout = " + CachePrinter.prettyPrint(timeout) + ")");
+
+ return;
+ }
+ catch (InterruptedException ie)
+ {
+ Thread.currentThread().interrupt();
+ }
}
}
-
}
// ------------ START: Lifecycle methods ------------
15 years, 7 months
JBoss Cache SVN: r8039 - core/trunk/src/main/java/org/jboss/cache.
by jbosscache-commits@lists.jboss.org
Author: manik.surtani(a)jboss.com
Date: 2009-05-01 06:59:31 -0400 (Fri, 01 May 2009)
New Revision: 8039
Modified:
core/trunk/src/main/java/org/jboss/cache/RPCManagerImpl.java
Log:
better interrupt handling
Modified: core/trunk/src/main/java/org/jboss/cache/RPCManagerImpl.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/RPCManagerImpl.java 2009-04-30 23:17:34 UTC (rev 8038)
+++ core/trunk/src/main/java/org/jboss/cache/RPCManagerImpl.java 2009-05-01 10:59:31 UTC (rev 8039)
@@ -231,9 +231,19 @@
public void lockProcessingLock() throws InterruptedException
{
- if (!coordinationLock.readLock().tryLock(configuration.getStateRetrievalTimeout(), TimeUnit.MILLISECONDS))
+ while (true)
{
- throw new TimeoutException("Could not obtain processing lock");
+ try
+ {
+ if (!coordinationLock.readLock().tryLock(configuration.getStateRetrievalTimeout(), TimeUnit.MILLISECONDS))
+ throw new TimeoutException("Could not obtain processing lock");
+
+ return;
+ }
+ catch (InterruptedException ie)
+ {
+ Thread.currentThread().interrupt();
+ }
}
}
@@ -244,9 +254,19 @@
public void lockSuspendProcessingLock() throws InterruptedException
{
- if (!coordinationLock.writeLock().tryLock(configuration.getStateRetrievalTimeout(), TimeUnit.MILLISECONDS))
+ while (true)
{
- throw new TimeoutException("Could not obtain processing lock");
+ try
+ {
+ if (!coordinationLock.writeLock().tryLock(configuration.getStateRetrievalTimeout(), TimeUnit.MILLISECONDS))
+ throw new TimeoutException("Could not obtain processing lock");
+
+ return;
+ }
+ catch (InterruptedException ie)
+ {
+ Thread.currentThread().interrupt();
+ }
}
}
@@ -258,22 +278,43 @@
}
}
+ @Override
public void waitForFlushCompletion(long timeout) throws InterruptedException
{
- if (!flushBlockGate.await(timeout, TimeUnit.MILLISECONDS))
+ while (true)
{
- throw new TimeoutException("State retrieval timed out waiting for flush to unblock. (timeout = " + CachePrinter.prettyPrint(timeout) + ")");
+ try
+ {
+ if (!flushBlockGate.await(timeout, TimeUnit.MILLISECONDS))
+ throw new TimeoutException("State retrieval timed out waiting for flush to unblock. (timeout = " + CachePrinter.prettyPrint(timeout) + ")");
+
+ return;
+ }
+ catch (InterruptedException ie)
+ {
+ Thread.currentThread().interrupt();
+ }
}
}
-
+
+ @Override
public void waitForFlushStart(long timeout) throws InterruptedException
{
- if (!flushWaitGate.await(timeout, TimeUnit.MILLISECONDS))
+ while (true)
{
- throw new TimeoutException("State retrieval timed out waiting for flush to block. (timeout = " + CachePrinter.prettyPrint(timeout) + " )");
+ try
+ {
+ if (!flushWaitGate.await(timeout, TimeUnit.MILLISECONDS))
+ throw new TimeoutException("State retrieval timed out waiting for flush to block. (timeout = " + CachePrinter.prettyPrint(timeout) + ")");
+
+ return;
+ }
+ catch (InterruptedException ie)
+ {
+ Thread.currentThread().interrupt();
+ }
}
}
-
}
// ------------ START: Lifecycle methods ------------
15 years, 7 months