activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1235402 - /activemq/activemq-apollo/trunk/apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/leveldb/leveldb/LevelDBStore.scala
Date Tue, 24 Jan 2012 18:37:03 GMT
Author: chirino
Date: Tue Jan 24 18:37:02 2012
New Revision: 1235402

URL: http://svn.apache.org/viewvc?rev=1235402&view=rev
Log:
Added better labels to the level db log status report

Modified:
    activemq/activemq-apollo/trunk/apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/leveldb/leveldb/LevelDBStore.scala

Modified: activemq/activemq-apollo/trunk/apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/leveldb/leveldb/LevelDBStore.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/leveldb/leveldb/LevelDBStore.scala?rev=1235402&r1=1235401&r2=1235402&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/leveldb/leveldb/LevelDBStore.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/leveldb/leveldb/LevelDBStore.scala
Tue Jan 24 18:37:02 2012
@@ -267,7 +267,7 @@ class LevelDBStore(val config:LevelDBSto
         rc.index_snapshot_pos = client.last_index_snapshot_pos
         rc.log_stats = {
           var row_layout = "%-20s | %-10s | %-10s\n"
-          row_layout.format("File", "References", "Total Size")+
+          row_layout.format("Log File", "Message References", "File Size")+
           client.log.log_infos.map{case (id,info)=> id -> client.log_refs.get(id).map(_.get)}.toSeq.flatMap
{ case (id, refs)=>
             try {
               val file = LevelDBClient.create_sequence_file(client.directory, id, LevelDBClient.LOG_SUFFIX)



Mime
View raw message