You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2016/04/11 12:48:09 UTC
karaf git commit: [KARAF-4485] Update lock package in the failover
documentation
Repository: karaf
Updated Branches:
refs/heads/karaf-4.0.x 9973be7b4 -> efc251749
[KARAF-4485] Update lock package in the failover documentation
Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/efc25174
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/efc25174
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/efc25174
Branch: refs/heads/karaf-4.0.x
Commit: efc251749463ebf350bf8897a83900456b3c9d62
Parents: 9973be7
Author: Jean-Baptiste Onofré <jb...@apache.org>
Authored: Mon Apr 11 12:47:03 2016 +0200
Committer: Jean-Baptiste Onofré <jb...@apache.org>
Committed: Mon Apr 11 12:47:03 2016 +0200
----------------------------------------------------------------------
manual/src/main/asciidoc/user-guide/failover.adoc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/karaf/blob/efc25174/manual/src/main/asciidoc/user-guide/failover.adoc
----------------------------------------------------------------------
diff --git a/manual/src/main/asciidoc/user-guide/failover.adoc b/manual/src/main/asciidoc/user-guide/failover.adoc
index 7154f03..62b49b5 100644
--- a/manual/src/main/asciidoc/user-guide/failover.adoc
+++ b/manual/src/main/asciidoc/user-guide/failover.adoc
@@ -46,7 +46,7 @@ The configuration of the lock system has to be defined in the `etc/system.proper
----
karaf.lock=true
-karaf.lock.class=org.apache.karaf.main.SimpleFileLock
+karaf.lock.class=org.apache.karaf.main.lock.SimpleFileLock
karaf.lock.dir=<PathToLockFileDirectory>
karaf.lock.delay=10000
----
@@ -73,7 +73,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.class=org.apache.karaf.main.lock.DefaultJDBCLock
karaf.lock.level=50
karaf.lock.delay=10000
karaf.lock.jdbc.url=jdbc:derby://dbserver:1527/sample
@@ -86,7 +86,7 @@ karaf.lock.jdbc.timeout=30
----
* `karaf.lock` property enabled the HA/failover mechanism
-* `karaf.lock.class` property contains the class name providing the lock implementation. The `org.apache.karaf.main.DefaultJDBCLock`
+* `karaf.lock.class` property contains the class name providing the lock implementation. The `org.apache.karaf.main.lock.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 milliseconds) to check if the lock has been released or not.