karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject [2/2] karaf git commit: [KARAF-3439] Update failover lock delay documentation
Date Tue, 27 Jan 2015 14:51:59 GMT
[KARAF-3439] Update failover lock delay documentation


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/f49a4a08
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/f49a4a08
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/f49a4a08

Branch: refs/heads/karaf-3.0.x
Commit: f49a4a087b1aecf2b762f506fafaaf8b4ab7e5ae
Parents: aa788d1
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Tue Jan 27 15:51:40 2015 +0100
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Tue Jan 27 15:51:40 2015 +0100

----------------------------------------------------------------------
 manual/src/main/webapp/users-guide/failover.conf | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/f49a4a08/manual/src/main/webapp/users-guide/failover.conf
----------------------------------------------------------------------
diff --git a/manual/src/main/webapp/users-guide/failover.conf b/manual/src/main/webapp/users-guide/failover.conf
index b35c636..3ad7d1b 100644
--- a/manual/src/main/webapp/users-guide/failover.conf
+++ b/manual/src/main/webapp/users-guide/failover.conf
@@ -34,13 +34,13 @@ The configuration of the lock system has to be defined in the {{etc/system.prope
 karaf.lock=true
 karaf.lock.class=org.apache.karaf.main.SimpleFileLock
 karaf.lock.dir=<PathToLockFileDirectory>
-karaf.lock.delay=10
+karaf.lock.delay=10000
 {code}
 
 * {{karaf.lock}} property enables the the HA/failover mechanism
 * {{karaf.lock.class}} property contains the class name providing the lock implementation.
Here, we use the filesystem lock.
 * {{karaf.lock.dir}} property contains the location where the lock will be written. All instances
have to share the same lock.
-* {{karaf.lock.delay}} property is the interval period (in seconds) to check if the lock
has been released or not.
+* {{karaf.lock.delay}} property is the interval period (in milliseconds) to check if the
lock has been released or not.
 
 h3. Database lock
 
@@ -61,7 +61,7 @@ The database lock uses JDBC (Java DataBase Connectivity). To use database
lockin
 karaf.lock=true
 karaf.lock.class=org.apache.karaf.main.DefaultJDBCLock
 karaf.lock.level=50
-karaf.lock.delay=10
+karaf.lock.delay=10000
 karaf.lock.jdbc.url=jdbc:derby://dbserver:1527/sample
 karaf.lock.jdbc.driver=org.apache.derby.jdbc.ClientDriver
 karaf.lock.jdbc.user=user
@@ -75,7 +75,7 @@ karaf.lock.jdbc.timeout=30
 * {{karaf.lock.class}} property contains the class name providing the lock implementation.
The {{org.apache.karaf.main.DefaultJDBCLock}}
  is the most generic database lock system implementation. Apache Karaf supports lock system
for specific databases (see later for details).
 * {{karaf.lock.level}} property is the container-level locking (see later for details).
-* {{karaf.lock.delay}} property is the interval period (in seconds) to check if the lock
has been released or not.
+* {{karaf.lock.delay}} property is the interval period (in milliseconds) to check if the
lock has been released or not.
 * {{karaf.lock.jdbc.url}} property contains the JDBC URL to the database (derby in this example).
 * {{karaf.lock.jdbc.driver}} property contains the class name of the JDBC driver to use (derby
in this example).
 * {{karaf.lock.jdbc.user}} property contains the username to use to connect to the database.
@@ -180,7 +180,7 @@ Apache Karaf supports Microsoft SQLServer database for locking. The lock
impleme
 karaf.lock=true
 karaf.lock.class=org.apache.karaf.main.lock.SQLServerJDBCLock
 karaf.lock.level=50
-karaf.lock.delay=10
+karaf.lock.delay=10000
 karaf.lock.jdbc.url=jdbc:jtds:sqlserver://127.0.0.1;databaseName=sample
 karaf.lock.jdbc.driver=net.sourceforge.jtds.jdbc.Driver
 karaf.lock.jdbc.user=user


Mime
View raw message