Package com.dehnes.kotlinredis.lock
Class LockInfo
-
- All Implemented Interfaces:
public final class LockInfo
-
-
Field Summary
Fields Modifier and Type Field Description private final StringlockNameprivate final LockHoldingwriteOwnerprivate final List<LockHolding>readOwnersprivate final LongcreatedAtEpochMillisprivate final LongupdatedAtEpochMillisprivate final BooleankeepLockDataAfterUse
-
Constructor Summary
Constructors Constructor Description LockInfo(String lockName, LockHolding writeOwner, List<LockHolding> readOwners, Long createdAtEpochMillis, Long updatedAtEpochMillis, Boolean keepLockDataAfterUse)
-
Method Summary
Modifier and Type Method Description final StringgetLockName()final LockHoldinggetWriteOwner()final List<LockHolding>getReadOwners()final LonggetCreatedAtEpochMillis()final LonggetUpdatedAtEpochMillis()final BooleangetKeepLockDataAfterUse()-
-
Constructor Detail
-
LockInfo
LockInfo(String lockName, LockHolding writeOwner, List<LockHolding> readOwners, Long createdAtEpochMillis, Long updatedAtEpochMillis, Boolean keepLockDataAfterUse)
-
-
Method Detail
-
getLockName
final String getLockName()
-
getWriteOwner
final LockHolding getWriteOwner()
-
getReadOwners
final List<LockHolding> getReadOwners()
-
getCreatedAtEpochMillis
final Long getCreatedAtEpochMillis()
-
getUpdatedAtEpochMillis
final Long getUpdatedAtEpochMillis()
-
getKeepLockDataAfterUse
final Boolean getKeepLockDataAfterUse()
-
-
-
-