Class RedissonRedLockLease.LockAndClient
- java.lang.Object
-
- com.nikolastojiljkovic.akka.coordination.lease.RedissonRedLockLease.LockAndClient
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- RedissonRedLockLease
public static final class RedissonRedLockLease.LockAndClient extends java.lang.Object implements scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LockAndClient(RedissonLockWithCustomOwnerAndFixedLeaseTime lock, org.redisson.Redisson client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.redisson.Redisson
client()
RedissonLockWithCustomOwnerAndFixedLeaseTime
lock()
-
-
-
Constructor Detail
-
LockAndClient
public LockAndClient(RedissonLockWithCustomOwnerAndFixedLeaseTime lock, org.redisson.Redisson client)
-
-
Method Detail
-
lock
public RedissonLockWithCustomOwnerAndFixedLeaseTime lock()
-
client
public org.redisson.Redisson client()
-
-