activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1157118 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java
Date Fri, 12 Aug 2011 14:20:51 GMT
Author: gtully
Date: Fri Aug 12 14:20:51 2011
New Revision: 1157118

URL: http://svn.apache.org/viewvc?rev=1157118&view=rev
Log:
show the store location for a DB toString

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java?rev=1157118&r1=1157117&r2=1157118&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java
Fri Aug 12 14:20:51 2011
@@ -100,6 +100,11 @@ public class KahaDBStore extends Message
         this.transactionStore = new KahaDBTransactionStore(this);
     }
 
+    @Override
+    public String toString() {
+        return "KahaDB:[" + directory.getAbsolutePath() + "]";
+    }
+
     public void setBrokerName(String brokerName) {
     }
 



Mime
View raw message