-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
YOU NEED THIS: unfinished code in ZkMultiPathLock accidentally made i…
…t into production and caused all sorts of woes. This is the fix
- Loading branch information
Dominic Williams
committed
Nov 17, 2010
1 parent
a8c1124
commit 4396e13
Showing
5 changed files
with
223 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
package org.scale7.zookeeper.cages; | ||
|
||
public interface ISinglePathLock extends ILock { | ||
public interface ISinglePathLock extends ILock, Comparable<ISinglePathLock> { | ||
/** | ||
* Get the path that a lock is operating against | ||
* @return The path the lock is attempting to lock | ||
*/ | ||
String getLockPath(); | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.