Package | Description |
---|---|
org.spf4j.concurrent | |
org.spf4j.concurrent.jdbc | |
org.spf4j.failsafe |
This package contains operation retry utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
CompoundSemaphore
allows to combine various resource limiters/semahores
|
class |
LocalSemaphore
A process level semaphore implementation based on the JDK semaphore.
|
Modifier and Type | Method and Description |
---|---|
Semaphore[] |
CompoundSemaphore.getSemaphores() |
default Semaphore |
PermitSupplier.toSemaphore() |
default Semaphore |
Semaphore.toSemaphore() |
Constructor and Description |
---|
CompoundSemaphore(Semaphore... semaphores) |
Modifier and Type | Class and Description |
---|---|
class |
JdbcSemaphore
A jdbc table based semaphore implementation.
|
class |
ProcessLimitedJdbcSemaphore |
Modifier and Type | Method and Description |
---|---|
Semaphore |
LimitingExecutor.getSemaphore() |
Constructor and Description |
---|
LimitingExecutor(LimitingExecutor.RejectedExecutionHandler<T,C> rejectHandler,
Semaphore semaphore) |
LimitingExecutor(Semaphore semaphore) |
Copyright © 2018 SPF4J. All rights reserved.