activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1233766 - in /activemq/activemq-apollo/trunk: apollo-bdb/src/main/scala/org/apache/activemq/apollo/broker/store/bdb/ apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/leveldb/leveldb/ apollo-website/src/documentation/
Date Fri, 20 Jan 2012 04:54:12 GMT
Author: chirino
Date: Fri Jan 20 04:54:11 2012
New Revision: 1233766

URL: http://svn.apache.org/viewvc?rev=1233766&view=rev
Log:
Update and document the default flush delay to be 500 ms.

Modified:
    activemq/activemq-apollo/trunk/apollo-bdb/src/main/scala/org/apache/activemq/apollo/broker/store/bdb/BDBStore.scala
    activemq/activemq-apollo/trunk/apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/leveldb/leveldb/LevelDBStore.scala
    activemq/activemq-apollo/trunk/apollo-website/src/documentation/user-manual.md

Modified: activemq/activemq-apollo/trunk/apollo-bdb/src/main/scala/org/apache/activemq/apollo/broker/store/bdb/BDBStore.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-bdb/src/main/scala/org/apache/activemq/apollo/broker/store/bdb/BDBStore.scala?rev=1233766&r1=1233765&r2=1233766&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-bdb/src/main/scala/org/apache/activemq/apollo/broker/store/bdb/BDBStore.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-bdb/src/main/scala/org/apache/activemq/apollo/broker/store/bdb/BDBStore.scala
Fri Jan 20 04:54:11 2012
@@ -53,7 +53,7 @@ class BDBStore(var config:BDBStoreDTO) e
 
   override def toString = "bdb store at "+config.directory
 
-  def flush_delay = config.flush_delay.getOrElse(100)
+  def flush_delay = config.flush_delay.getOrElse(500)
   
   protected def get_next_msg_key = next_msg_key.getAndIncrement
 

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=1233766&r1=1233765&r2=1233766&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
Fri Jan 20 04:54:11 2012
@@ -58,7 +58,7 @@ class LevelDBStore(val config:LevelDBSto
 
   override def toString = store_kind+" store at "+config.directory
 
-  def flush_delay = config.flush_delay.getOrElse(100)
+  def flush_delay = config.flush_delay.getOrElse(500)
   
   protected def get_next_msg_key = next_msg_key.getAndIncrement
 

Modified: activemq/activemq-apollo/trunk/apollo-website/src/documentation/user-manual.md
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-website/src/documentation/user-manual.md?rev=1233766&r1=1233765&r2=1233766&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-website/src/documentation/user-manual.md (original)
+++ activemq/activemq-apollo/trunk/apollo-website/src/documentation/user-manual.md Fri Jan
20 04:54:11 2012
@@ -398,7 +398,7 @@ A `leveldb_store` element may be configu
 * `flush_delay` : The flush delay is the amount of time in milliseconds
   that a store will delay persisting a messaging unit of work in hopes
   that it will be invalidated shortly thereafter by another unit of work
-  which would negate the operation.
+  which would negate the operation.  Defaults to 500.
 * `read_threads` : The number of concurrent IO reads to allow. The value 
    defaults to 10.
 * `sync` : If set to `false`, then the store does not sync logging operations to 
@@ -458,7 +458,7 @@ A `bdb_store` element may be configured 
 * `flush_delay` : The flush delay is the amount of time in milliseconds
   that a store will delay persisting a messaging unit of work in hopes
   that it will be invalidated shortly thereafter by another unit of work
-  which would negate the operation.
+  which would negate the operation. Defaults to 500.
 * `read_threads` : The number of concurrent read threads to use when
   accessing the store. The value defaults to 10.
 



Mime
View raw message