C D E G H L O P R S T U 
All Classes All Packages

C

com.coditory.sherlock.common - package com.coditory.sherlock.common
 
com.coditory.sherlock.common.util - package com.coditory.sherlock.common.util
 

D

DEFAULT_CLOCK - Static variable in class com.coditory.sherlock.common.SherlockDefaults
 
DEFAULT_LOCK_DURATION - Static variable in class com.coditory.sherlock.common.SherlockDefaults
 
DEFAULT_OWNER_ID_GENERATOR - Static variable in class com.coditory.sherlock.common.SherlockDefaults
 

E

equals(Object) - Method in class com.coditory.sherlock.common.LockDuration
 
equals(Object) - Method in class com.coditory.sherlock.common.LockId
 
equals(Object) - Method in class com.coditory.sherlock.common.LockRequest
 
equals(Object) - Method in class com.coditory.sherlock.common.OwnerId
 
expectAll(T, String, BiFunction<T, String, T>...) - Static method in class com.coditory.sherlock.common.util.Preconditions
 
expectNonEmpty(String) - Static method in class com.coditory.sherlock.common.util.Preconditions
 
expectNonEmpty(String, String) - Static method in class com.coditory.sherlock.common.util.Preconditions
 
expectNonEmpty(List<E>) - Static method in class com.coditory.sherlock.common.util.Preconditions
 
expectNonEmpty(List<E>, String) - Static method in class com.coditory.sherlock.common.util.Preconditions
 
expectNonNull(T) - Static method in class com.coditory.sherlock.common.util.Preconditions
 
expectNonNull(T, String) - Static method in class com.coditory.sherlock.common.util.Preconditions
 
expectTruncatedToMillis(Duration) - Static method in class com.coditory.sherlock.common.util.Preconditions
 
expectTruncatedToMillis(Duration, String) - Static method in class com.coditory.sherlock.common.util.Preconditions
 

G

getDuration() - Method in class com.coditory.sherlock.common.LockRequest
 
getLockId() - Method in class com.coditory.sherlock.common.LockRequest
 
getOwnerId() - Method in class com.coditory.sherlock.common.LockRequest
 
getOwnerId() - Method in interface com.coditory.sherlock.common.OwnerIdGenerator
 
getValue() - Method in class com.coditory.sherlock.common.LockDuration
 
getValue() - Method in class com.coditory.sherlock.common.LockId
 
getValue() - Method in class com.coditory.sherlock.common.OwnerId
 

H

hashCode() - Method in class com.coditory.sherlock.common.LockDuration
 
hashCode() - Method in class com.coditory.sherlock.common.LockId
 
hashCode() - Method in class com.coditory.sherlock.common.LockRequest
 
hashCode() - Method in class com.coditory.sherlock.common.OwnerId
 

L

LockDuration - Class in com.coditory.sherlock.common
 
LockId - Class in com.coditory.sherlock.common
 
LockRequest - Class in com.coditory.sherlock.common
 
LockRequest(LockId, OwnerId) - Constructor for class com.coditory.sherlock.common.LockRequest
 
LockRequest(LockId, OwnerId, LockDuration) - Constructor for class com.coditory.sherlock.common.LockRequest
 

O

of(String) - Static method in class com.coditory.sherlock.common.LockId
 
of(String) - Static method in class com.coditory.sherlock.common.OwnerId
 
of(Duration) - Static method in class com.coditory.sherlock.common.LockDuration
 
OwnerId - Class in com.coditory.sherlock.common
 
OwnerIdGenerator - Interface in com.coditory.sherlock.common
 

P

Preconditions - Class in com.coditory.sherlock.common.util
Preconditions for sherlock distributed lock.

R

RANDOM_OWNER_ID_GENERATOR - Static variable in interface com.coditory.sherlock.common.OwnerIdGenerator
 
RANDOM_STATIC_OWNER_ID_GENERATOR - Static variable in interface com.coditory.sherlock.common.OwnerIdGenerator
 

S

SherlockDefaults - Class in com.coditory.sherlock.common
 
staticOwnerIdGenerator(String) - Static method in interface com.coditory.sherlock.common.OwnerIdGenerator
 

T

toString() - Method in class com.coditory.sherlock.common.LockDuration
 
toString() - Method in class com.coditory.sherlock.common.LockId
 
toString() - Method in class com.coditory.sherlock.common.LockRequest
 
toString() - Method in class com.coditory.sherlock.common.OwnerId
 

U

uniqueOwnerId() - Static method in class com.coditory.sherlock.common.OwnerId
 
uuid() - Static method in class com.coditory.sherlock.common.util.UuidGenerator
 
UuidGenerator - Class in com.coditory.sherlock.common.util
Random unique id generator
C D E G H L O P R S T U 
All Classes All Packages