File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Include the dependency into your project:
1111< dependency>
1212 < groupId> io. github. s- sathish< / groupId>
1313 < artifactId> redlock- java< / artifactId>
14- < version> 1.0 . 3 < / version>
14+ < version> 1.0 . 4 < / version>
1515< / dependency>
1616```
1717
@@ -24,11 +24,11 @@ RedLock redLock = new RedLock();
2424To acquire a lock:
2525
2626``` java
27- String lockResult = redLock. lock(" redlock" );
27+ LockResult lockResult = redLock. lock(" redlock" );
2828```
2929
3030To release a lock:
3131
3232``` java
33- List< Object > releaseLockResult = redLock. release(" redlock" , lockResult);
33+ redLock. release(" redlock" , lockResult. getValue() );
3434```
Original file line number Diff line number Diff line change 44
55 <groupId >io.github.s-sathish</groupId >
66 <artifactId >redlock-java</artifactId >
7- <version >1.0.3 </version >
7+ <version >1.0.4 </version >
88 <name >RedLock-Java</name >
99 <description >RedLock in Java</description >
1010 <url >https://github.com/s-sathish/redlock-java</url >
4444 <connection >scm:git:git@github.com:s-sathish/redlock-java.git</connection >
4545 <url >scm:git:git@github.com:s-sathish/redlock-java.git</url >
4646 <developerConnection >scm:git:git@github.com:s-sathish/redlock-java.git</developerConnection >
47- <tag >redlock-java-1.0.3 </tag >
47+ <tag >redlock-java-1.0.4 </tag >
4848 </scm >
4949
5050 <properties >
You can’t perform that action at this time.
0 commit comments