A C F G I L R S T W 
All Classes All Packages

A

acquire() - Method in interface com.coditory.sherlock.RxDistributedLock
Try to acquire the lock.
acquire() - Method in class com.coditory.sherlock.RxDistributedLockMock
 
acquire(Duration) - Method in interface com.coditory.sherlock.RxDistributedLock
Try to acquire the lock for a given duration.
acquire(Duration) - Method in class com.coditory.sherlock.RxDistributedLockMock
 
acquireAndExecute(Duration, Supplier<Single<T>>) - Method in interface com.coditory.sherlock.RxDistributedLock
Acquire a lock for a given duration and release it after action is executed.
acquireAndExecute(Supplier<Single<T>>) - Method in interface com.coditory.sherlock.RxDistributedLock
Acquire a lock and release it after action is executed.
acquiredInMemoryLock() - Static method in class com.coditory.sherlock.RxDistributedLockMock
 
acquiredInMemoryLock(String) - Static method in class com.coditory.sherlock.RxDistributedLockMock
 
acquiredReentrantInMemoryLock() - Static method in class com.coditory.sherlock.RxDistributedLockMock
 
acquiredReentrantInMemoryLock(String) - Static method in class com.coditory.sherlock.RxDistributedLockMock
 
acquireForever() - Method in interface com.coditory.sherlock.RxDistributedLock
Try to acquire the lock without expiring date.
acquireForever() - Method in class com.coditory.sherlock.RxDistributedLockMock
 
acquireForeverAndExecute(Supplier<Single<T>>) - Method in interface com.coditory.sherlock.RxDistributedLock
Acquire a lock without expiration time and release it after action is executed.
acquisitions() - Method in class com.coditory.sherlock.RxDistributedLockMock
 

C

com.coditory.sherlock - package com.coditory.sherlock
 
createLock() - Method in interface com.coditory.sherlock.RxSherlock
Creates a distributed lock.
createLock() - Method in class com.coditory.sherlock.RxSherlockStub
 
createLock(String) - Method in interface com.coditory.sherlock.RxSherlock
Creates a lock with default configuration.
createOverridingLock() - Method in interface com.coditory.sherlock.RxSherlock
Create a distributed overriding lock.
createOverridingLock() - Method in class com.coditory.sherlock.RxSherlockStub
 
createOverridingLock(String) - Method in interface com.coditory.sherlock.RxSherlock
Creates an overriding lock with default configuration.
createReentrantLock() - Method in interface com.coditory.sherlock.RxSherlock
Creates a distributed reentrant lock.
createReentrantLock() - Method in class com.coditory.sherlock.RxSherlockStub
 
createReentrantLock(String) - Method in interface com.coditory.sherlock.RxSherlock
Creates a reentrant lock with default configuration.

F

forceReleaseAllLocks() - Method in interface com.coditory.sherlock.RxSherlock
Force releases all acquired locks.
forceReleaseAllLocks() - Method in class com.coditory.sherlock.RxSherlockStub
 
forceReleaseLock(String) - Method in interface com.coditory.sherlock.RxSherlock
Force releases a lock.

G

getId() - Method in interface com.coditory.sherlock.RxDistributedLock
Return the lock id.
getId() - Method in class com.coditory.sherlock.RxDistributedLockMock
 

I

initialize() - Method in interface com.coditory.sherlock.RxSherlock
Initializes underlying infrastructure.
initialize() - Method in class com.coditory.sherlock.RxSherlockStub
 

L

lockStub(boolean) - Static method in class com.coditory.sherlock.RxDistributedLockMock
 
lockStub(boolean, boolean) - Static method in class com.coditory.sherlock.RxDistributedLockMock
 
lockStub(String, boolean) - Static method in class com.coditory.sherlock.RxDistributedLockMock
 
lockStub(String, boolean, boolean) - Static method in class com.coditory.sherlock.RxDistributedLockMock
 

R

rejectedAcquisitions() - Method in class com.coditory.sherlock.RxDistributedLockMock
 
rejectedReleases() - Method in class com.coditory.sherlock.RxDistributedLockMock
 
release() - Method in interface com.coditory.sherlock.RxDistributedLock
Try to release the lock.
release() - Method in class com.coditory.sherlock.RxDistributedLockMock
 
releaseAndExecute(Supplier<Single<T>>) - Method in interface com.coditory.sherlock.RxDistributedLock
Run the action when lock is released
releasedInMemoryLock() - Static method in class com.coditory.sherlock.RxDistributedLockMock
 
releasedInMemoryLock(String) - Static method in class com.coditory.sherlock.RxDistributedLockMock
 
releasedReentrantInMemoryLock() - Static method in class com.coditory.sherlock.RxDistributedLockMock
 
releasedReentrantInMemoryLock(String) - Static method in class com.coditory.sherlock.RxDistributedLockMock
 
releases() - Method in class com.coditory.sherlock.RxDistributedLockMock
 
RxDistributedLock - Interface in com.coditory.sherlock
A reactive distributed lock with RxJava API.
RxDistributedLockMock - Class in com.coditory.sherlock
 
RxSherlock - Interface in com.coditory.sherlock
Manages distributed locks using RXJava API.
RxSherlockStub - Class in com.coditory.sherlock
Use to stub RxSherlock in tests.
RxSherlockStub() - Constructor for class com.coditory.sherlock.RxSherlockStub
 

S

sequencedLock(String, List<Boolean>, List<Boolean>) - Static method in class com.coditory.sherlock.RxDistributedLockMock
 
sequencedLock(List<Boolean>, List<Boolean>) - Static method in class com.coditory.sherlock.RxDistributedLockMock
 
successfulAcquisitions() - Method in class com.coditory.sherlock.RxDistributedLockMock
 
successfulReleases() - Method in class com.coditory.sherlock.RxDistributedLockMock
 

T

toRxSherlock(ReactiveSherlock) - Static method in interface com.coditory.sherlock.RxSherlock
Maps reactive sherlock to a one using RxJava API

W

wasAcquired() - Method in class com.coditory.sherlock.RxDistributedLockMock
 
wasAcquiredAndReleased() - Method in class com.coditory.sherlock.RxDistributedLockMock
 
wasAcquireInvoked() - Method in class com.coditory.sherlock.RxDistributedLockMock
 
wasAcquireRejected() - Method in class com.coditory.sherlock.RxDistributedLockMock
 
wasReleased() - Method in class com.coditory.sherlock.RxDistributedLockMock
 
wasReleaseInvoked() - Method in class com.coditory.sherlock.RxDistributedLockMock
 
wasReleaseRejected() - Method in class com.coditory.sherlock.RxDistributedLockMock
 
withAcquiredLocks() - Static method in class com.coditory.sherlock.RxSherlockStub
Make the stub produce acquired locks by default
withLock(RxDistributedLock) - Method in class com.coditory.sherlock.RxSherlockStub
Make the stub produce return a predefined lock.
withReleasedLocks() - Static method in class com.coditory.sherlock.RxSherlockStub
Make the stub produce released locks by default
A C F G I L R S T W 
All Classes All Packages