Modifier and Type | Field and Description |
---|---|
String |
key
The full name of the lock, as found in redis
|
String |
name
The name of the lock, without any reids prefixes
|
LocalDateTime |
since
The timestamp when the lock was last acquired
|
Long |
ttl
The maximal time to live of the lock.
|
String |
value
The current value of the lock which can be used to determine who holds the lock
|
public final String key
public final String name
public final String value
public final LocalDateTime since
public final Long ttl
The lock will be auto released after a certain amount of seconds in case of a server crash
protected LockInfo(String key, String name, String value, LocalDateTime since, Long ttl)
Copyright © 2018. All rights reserved.