Package com.dehnes.kotlinredis.lock
Class RedisLockService.LockInfo
-
- All Implemented Interfaces:
public final class RedisLockService.LockInfo
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final StringlockNameprivate final RedisLockService.ThreadIdownerprivate final LongleaseTimeSecondsprivate final LongexpiresAtEpochMillisprivate final LongredisStartupTimeprivate final LongcreatedAtEpochMillisprivate final LongupdatedAtEpochMillis
-
Constructor Summary
Constructors Constructor Description RedisLockService.LockInfo(String id, String lockName, RedisLockService.ThreadId owner, Long leaseTimeSeconds, Long expiresAtEpochMillis, Long redisStartupTime, Long createdAtEpochMillis, Long updatedAtEpochMillis)
-
Method Summary
Modifier and Type Method Description final StringgetId()final StringgetLockName()final RedisLockService.ThreadIdgetOwner()final LonggetLeaseTimeSeconds()final LonggetExpiresAtEpochMillis()final LonggetRedisStartupTime()final LonggetCreatedAtEpochMillis()final LonggetUpdatedAtEpochMillis()-
-
Method Detail
-
getLockName
final String getLockName()
-
getOwner
final RedisLockService.ThreadId getOwner()
-
getLeaseTimeSeconds
final Long getLeaseTimeSeconds()
-
getExpiresAtEpochMillis
final Long getExpiresAtEpochMillis()
-
getRedisStartupTime
final Long getRedisStartupTime()
-
getCreatedAtEpochMillis
final Long getCreatedAtEpochMillis()
-
getUpdatedAtEpochMillis
final Long getUpdatedAtEpochMillis()
-
-
-
-