JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
U
V
W
A
abort()
- Method in interface com.github.lpezet.java.patterns.supervisor.
IAbortable
AbstractSPMWorker
<
W
,
R
> - Class in
com.github.lpezet.java.patterns.worker
AbstractSPMWorker(ExecutorService, IWorkSplitter<W>, IResultMerger<R>)
- Constructor for class com.github.lpezet.java.patterns.worker.
AbstractSPMWorker
addResource(T...)
- Method in class com.github.lpezet.java.patterns.loadbalancer.
SimpleListLoadBalancer
Assert
- Class in
com.github.lpezet.java.patterns.util
Assert()
- Constructor for class com.github.lpezet.java.patterns.util.
Assert
AsyncCommand
<
T
> - Class in
com.github.lpezet.java.patterns.command
AsyncCommand(ExecutorService, ICommand<T>)
- Constructor for class com.github.lpezet.java.patterns.command.
AsyncCommand
AsyncResult
<
T
> - Class in
com.github.lpezet.java.patterns.command
AsyncResult(ExecutorService, ICommand<T>)
- Constructor for class com.github.lpezet.java.patterns.command.
AsyncResult
Executes command with custom callable.
AsyncResult
<
R
> - Class in
com.github.lpezet.java.patterns.worker
AsyncResult(ExecutorService, IWorker<T, R>, T)
- Constructor for class com.github.lpezet.java.patterns.worker.
AsyncResult
Executes command with custom callable.
AsyncResult(R)
- Constructor for class com.github.lpezet.java.patterns.worker.
AsyncResult
AsyncWorker
<
W
,
R
> - Class in
com.github.lpezet.java.patterns.worker
AsyncWorker(ExecutorService, IWorker<W, R>)
- Constructor for class com.github.lpezet.java.patterns.worker.
AsyncWorker
B
BaseCircuitBreakerCondition
- Class in
com.github.lpezet.java.patterns.circuitbreaker
BaseCircuitBreakerCondition()
- Constructor for class com.github.lpezet.java.patterns.circuitbreaker.
BaseCircuitBreakerCondition
BaseCircuitBreakerCondition(Class<? extends Exception>...)
- Constructor for class com.github.lpezet.java.patterns.circuitbreaker.
BaseCircuitBreakerCondition
BaseCircuitBreakerCondition(int)
- Constructor for class com.github.lpezet.java.patterns.circuitbreaker.
BaseCircuitBreakerCondition
BaseCircuitBreakerCondition(int, Class<? extends Exception>...)
- Constructor for class com.github.lpezet.java.patterns.circuitbreaker.
BaseCircuitBreakerCondition
BaseCircuitBreakerStrategy
- Class in
com.github.lpezet.java.patterns.circuitbreaker
BaseCircuitBreakerStrategy(ICircuitBreaker, ICircuitBreakerHandler)
- Constructor for class com.github.lpezet.java.patterns.circuitbreaker.
BaseCircuitBreakerStrategy
BaseCircuitBreakerStrategy(ICircuitBreaker, ICircuitBreakerHandler, ICircuitBreakerCondition)
- Constructor for class com.github.lpezet.java.patterns.circuitbreaker.
BaseCircuitBreakerStrategy
BaseCommand
<
T
> - Class in
com.github.lpezet.java.patterns.command
BaseCommand()
- Constructor for class com.github.lpezet.java.patterns.command.
BaseCommand
BaseLoadBalancer
<
T
> - Class in
com.github.lpezet.java.patterns.loadbalancer
BaseLoadBalancer()
- Constructor for class com.github.lpezet.java.patterns.loadbalancer.
BaseLoadBalancer
BaseRetryStrategy
- Class in
com.github.lpezet.java.patterns.retry
BaseRetryStrategy(IRetryCondition, IBackoffStrategy)
- Constructor for class com.github.lpezet.java.patterns.retry.
BaseRetryStrategy
BasicRetryCondition
- Class in
com.github.lpezet.java.patterns.retry
BasicRetryCondition()
- Constructor for class com.github.lpezet.java.patterns.retry.
BasicRetryCondition
BasicRetryCondition(int, Class<? extends Exception>...)
- Constructor for class com.github.lpezet.java.patterns.retry.
BasicRetryCondition
C
call()
- Method in class com.github.lpezet.java.patterns.command.
BaseCommand
Callback
<
T
> - Interface in
com.github.lpezet.java.patterns.command
Callback
<
T
> - Interface in
com.github.lpezet.java.patterns.worker
cancel(Future, Callable<T>)
- Method in class com.github.lpezet.java.patterns.supervisor.
Supervisor
chain(IWorker<R, R2>)
- Method in class com.github.lpezet.java.patterns.worker.
ChainBuilder
ChainBuilder
<
W
,
R
> - Class in
com.github.lpezet.java.patterns.worker
ChainWorker
<
W
,
R
,
S
> - Class in
com.github.lpezet.java.patterns.worker
Basically: pLeft.peform(pRight.perform(pWork:W)):R
ChainWorker(IWorker<S, R>, IWorker<W, S>)
- Constructor for class com.github.lpezet.java.patterns.worker.
ChainWorker
circuitBreaker(S, ICircuitBreakerStrategy)
- Static method in class com.github.lpezet.java.patterns.command.
Commands
circuitBreaker(S, ICircuitBreakerStrategy)
- Static method in class com.github.lpezet.java.patterns.worker.
Workers
CircuitBreakerCommand
<
T
> - Class in
com.github.lpezet.java.patterns.command
CircuitBreakerCommand(ICommand<T>, ICircuitBreakerStrategy)
- Constructor for class com.github.lpezet.java.patterns.command.
CircuitBreakerCommand
CircuitBreakerOpenException
- Exception in
com.github.lpezet.java.patterns.circuitbreaker
CircuitBreakerOpenException()
- Constructor for exception com.github.lpezet.java.patterns.circuitbreaker.
CircuitBreakerOpenException
CircuitBreakerOpenException(String)
- Constructor for exception com.github.lpezet.java.patterns.circuitbreaker.
CircuitBreakerOpenException
CircuitBreakerOpenException(Throwable)
- Constructor for exception com.github.lpezet.java.patterns.circuitbreaker.
CircuitBreakerOpenException
CircuitBreakerOpenException(String, Throwable)
- Constructor for exception com.github.lpezet.java.patterns.circuitbreaker.
CircuitBreakerOpenException
CircuitBreakerState
- Enum in
com.github.lpezet.java.patterns.circuitbreaker
CircuitBreakerStrategies
- Class in
com.github.lpezet.java.patterns.circuitbreaker
CircuitBreakerStrategies()
- Constructor for class com.github.lpezet.java.patterns.circuitbreaker.
CircuitBreakerStrategies
CircuitBreakerWorker
<
W
,
R
> - Class in
com.github.lpezet.java.patterns.worker
CircuitBreakerWorker(IWorker<W, R>, ICircuitBreakerStrategy)
- Constructor for class com.github.lpezet.java.patterns.worker.
CircuitBreakerWorker
com.github.lpezet.java.patterns.circuitbreaker
- package com.github.lpezet.java.patterns.circuitbreaker
com.github.lpezet.java.patterns.command
- package com.github.lpezet.java.patterns.command
com.github.lpezet.java.patterns.loadbalancer
- package com.github.lpezet.java.patterns.loadbalancer
com.github.lpezet.java.patterns.retry
- package com.github.lpezet.java.patterns.retry
com.github.lpezet.java.patterns.supervisor
- package com.github.lpezet.java.patterns.supervisor
com.github.lpezet.java.patterns.throttle
- package com.github.lpezet.java.patterns.throttle
com.github.lpezet.java.patterns.util
- package com.github.lpezet.java.patterns.util
com.github.lpezet.java.patterns.worker
- package com.github.lpezet.java.patterns.worker
Commands
- Class in
com.github.lpezet.java.patterns.command
Commands()
- Constructor for class com.github.lpezet.java.patterns.command.
Commands
count(W)
- Method in interface com.github.lpezet.java.patterns.worker.
Splitters.ISimpleSplitter
createCall(W)
- Method in class com.github.lpezet.java.patterns.worker.
AbstractSPMWorker
createCall(W)
- Method in class com.github.lpezet.java.patterns.worker.
SimpleSPMWorker
CyclicExponentialBackoffRefillStrategy
- Class in
com.github.lpezet.java.patterns.throttle
CyclicExponentialBackoffRefillStrategy(int, int, TimeUnit)
- Constructor for class com.github.lpezet.java.patterns.throttle.
CyclicExponentialBackoffRefillStrategy
D
decorate(IWorker<W, R>, S)
- Static method in class com.github.lpezet.java.patterns.worker.
Workers
defaultBackoffIORetryStrategy()
- Static method in class com.github.lpezet.java.patterns.retry.
RetryStrategies
delayBeforeNextRetry(Throwable, int)
- Method in class com.github.lpezet.java.patterns.retry.
ExponentialBackoffStrategy
E
execute()
- Method in class com.github.lpezet.java.patterns.command.
AsyncCommand
execute()
- Method in class com.github.lpezet.java.patterns.command.
CircuitBreakerCommand
execute()
- Method in interface com.github.lpezet.java.patterns.command.
ICommand
execute()
- Method in class com.github.lpezet.java.patterns.command.
RetryCommand
execute()
- Method in class com.github.lpezet.java.patterns.command.
SupervisorCommand
executeAndRetry(Callable<T>)
- Method in class com.github.lpezet.java.patterns.retry.
BaseRetryStrategy
executeAndRetry(Callable<T>)
- Method in interface com.github.lpezet.java.patterns.retry.
IRetryStrategy
executeAndTrip(Callable<T>)
- Method in class com.github.lpezet.java.patterns.circuitbreaker.
BaseCircuitBreakerStrategy
executeAndTrip(Callable<T>)
- Method in interface com.github.lpezet.java.patterns.circuitbreaker.
ICircuitBreakerStrategy
ExponentialBackoffStrategy
- Class in
com.github.lpezet.java.patterns.retry
Inspired by: com.amazonaws.retry.PredefinedRetryPolicies
ExponentialBackoffStrategy()
- Constructor for class com.github.lpezet.java.patterns.retry.
ExponentialBackoffStrategy
ExponentialBackoffStrategy(int)
- Constructor for class com.github.lpezet.java.patterns.retry.
ExponentialBackoffStrategy
ExponentialBackoffStrategy(int, int)
- Constructor for class com.github.lpezet.java.patterns.retry.
ExponentialBackoffStrategy
F
FixedRefillStrategy
- Class in
com.github.lpezet.java.patterns.throttle
FixedRefillStrategy(long, TimeUnit)
- Constructor for class com.github.lpezet.java.patterns.throttle.
FixedRefillStrategy
FixedTokenBucketStrategy
- Class in
com.github.lpezet.java.patterns.throttle
FixedTokenBucketStrategy(long, IRefillStrategy)
- Constructor for class com.github.lpezet.java.patterns.throttle.
FixedTokenBucketStrategy
G
get()
- Method in class com.github.lpezet.java.patterns.command.
AsyncResult
get(long, TimeUnit)
- Method in class com.github.lpezet.java.patterns.command.
AsyncResult
get()
- Method in interface com.github.lpezet.java.patterns.command.
IAsyncResult
Wait for result to be available and return them.
get(long, TimeUnit)
- Method in interface com.github.lpezet.java.patterns.command.
IAsyncResult
Wait for result to be available up until timeout specified.
get()
- Method in class com.github.lpezet.java.patterns.worker.
AsyncResult
get(long, TimeUnit)
- Method in class com.github.lpezet.java.patterns.worker.
AsyncResult
get()
- Method in interface com.github.lpezet.java.patterns.worker.
IAsyncResult
Wait for result to be available and return them.
get(long, TimeUnit)
- Method in interface com.github.lpezet.java.patterns.worker.
IAsyncResult
Wait for result to be available up until timeout specified.
getCapacity()
- Method in class com.github.lpezet.java.patterns.throttle.
TokenBucketStrategy
getChain()
- Method in class com.github.lpezet.java.patterns.worker.
ChainBuilder
getCurrentTokens()
- Method in class com.github.lpezet.java.patterns.throttle.
TokenBucketStrategy
getExceptions()
- Method in class com.github.lpezet.java.patterns.retry.
BasicRetryCondition
getExceptionsToTrip()
- Method in class com.github.lpezet.java.patterns.circuitbreaker.
BaseCircuitBreakerCondition
getIntervalInMillis()
- Method in class com.github.lpezet.java.patterns.throttle.
CyclicExponentialBackoffRefillStrategy
getIntervalInMillis()
- Method in class com.github.lpezet.java.patterns.throttle.
FixedRefillStrategy
getIntervalInMillis()
- Method in interface com.github.lpezet.java.patterns.throttle.
IRefillStrategy
getKey(S)
- Method in class com.github.lpezet.java.patterns.loadbalancer.
StickyLoadBalancer
getLastException()
- Method in interface com.github.lpezet.java.patterns.circuitbreaker.
ICircuitBreaker
getLastException()
- Method in class com.github.lpezet.java.patterns.circuitbreaker.
InMemoryCircuitBreaker
getLastStateChangedDateUTC()
- Method in interface com.github.lpezet.java.patterns.circuitbreaker.
ICircuitBreaker
getLastStateChangedDateUTC()
- Method in class com.github.lpezet.java.patterns.circuitbreaker.
InMemoryCircuitBreaker
getLeft()
- Method in class com.github.lpezet.java.patterns.worker.
ChainWorker
getMaxBackoffInMillis()
- Method in class com.github.lpezet.java.patterns.retry.
ExponentialBackoffStrategy
getMaxExecutions()
- Method in class com.github.lpezet.java.patterns.retry.
BasicRetryCondition
getNextRefillTime()
- Method in interface com.github.lpezet.java.patterns.throttle.
IThrottleStrategy
getNextRefillTime()
- Method in class com.github.lpezet.java.patterns.throttle.
TokenBucketStrategy
getNumberOfHashGroups()
- Method in class com.github.lpezet.java.patterns.loadbalancer.
StickyLoadBalancer
getOpenToHalfOpenWaitTimeInMillis()
- Method in class com.github.lpezet.java.patterns.circuitbreaker.
SingleTryCircuitBreakerStrategy
getRefillIntervalInMillis()
- Method in class com.github.lpezet.java.patterns.throttle.
TokenBucketStrategy
getResources()
- Method in class com.github.lpezet.java.patterns.loadbalancer.
SimpleListLoadBalancer
getRight()
- Method in class com.github.lpezet.java.patterns.worker.
ChainWorker
getScaleFactor()
- Method in class com.github.lpezet.java.patterns.retry.
ExponentialBackoffStrategy
getState()
- Method in interface com.github.lpezet.java.patterns.circuitbreaker.
ICircuitBreaker
getState()
- Method in class com.github.lpezet.java.patterns.circuitbreaker.
InMemoryCircuitBreaker
getTokens()
- Method in class com.github.lpezet.java.patterns.throttle.
TokenBucketStrategy
getTripers()
- Method in class com.github.lpezet.java.patterns.circuitbreaker.
BaseCircuitBreakerCondition
H
halfOpen()
- Method in interface com.github.lpezet.java.patterns.circuitbreaker.
ICircuitBreaker
halfOpen()
- Method in class com.github.lpezet.java.patterns.circuitbreaker.
InMemoryCircuitBreaker
handleOpen(ICircuitBreaker, Callable<T>)
- Method in interface com.github.lpezet.java.patterns.circuitbreaker.
ICircuitBreakerHandler
handleOpen(ICircuitBreaker, Callable<T>)
- Method in class com.github.lpezet.java.patterns.circuitbreaker.
SingleTryCircuitBreakerStrategy
hasNext()
- Method in class com.github.lpezet.java.patterns.loadbalancer.
BaseLoadBalancer
hasNext()
- Method in class com.github.lpezet.java.patterns.loadbalancer.
SimpleListLoadBalancer
hasNext()
- Method in class com.github.lpezet.java.patterns.loadbalancer.
StickyLoadBalancer
I
IAbortable
- Interface in
com.github.lpezet.java.patterns.supervisor
IAsyncResult
<
T
> - Interface in
com.github.lpezet.java.patterns.command
IAsyncResult
<
R
> - Interface in
com.github.lpezet.java.patterns.worker
IBackoffStrategy
- Interface in
com.github.lpezet.java.patterns.retry
Inspired by: com.amazonaws.retry.RetryPolicy
ICircuitBreaker
- Interface in
com.github.lpezet.java.patterns.circuitbreaker
ICircuitBreakerCondition
- Interface in
com.github.lpezet.java.patterns.circuitbreaker
ICircuitBreakerHandler
- Interface in
com.github.lpezet.java.patterns.circuitbreaker
ICircuitBreakerStrategy
- Interface in
com.github.lpezet.java.patterns.circuitbreaker
ICommand
<
T
> - Interface in
com.github.lpezet.java.patterns.command
ILoadBalancer
<
T
> - Interface in
com.github.lpezet.java.patterns.loadbalancer
InMemoryCircuitBreaker
- Class in
com.github.lpezet.java.patterns.circuitbreaker
InMemoryCircuitBreaker()
- Constructor for class com.github.lpezet.java.patterns.circuitbreaker.
InMemoryCircuitBreaker
IRefillStrategy
- Interface in
com.github.lpezet.java.patterns.throttle
IResultMerger
<
T
> - Interface in
com.github.lpezet.java.patterns.worker
IRetryCondition
- Interface in
com.github.lpezet.java.patterns.retry
Inspired by: com.amazonaws.retry.RetryPolicy
IRetryStrategy
- Interface in
com.github.lpezet.java.patterns.retry
isClosed()
- Method in interface com.github.lpezet.java.patterns.circuitbreaker.
ICircuitBreaker
isClosed()
- Method in class com.github.lpezet.java.patterns.circuitbreaker.
InMemoryCircuitBreaker
isFalse(boolean, String)
- Static method in class com.github.lpezet.java.patterns.util.
Assert
isNotNull(Object, String)
- Static method in class com.github.lpezet.java.patterns.util.
Assert
isThrottled()
- Method in interface com.github.lpezet.java.patterns.throttle.
IThrottleStrategy
isThrottled(long)
- Method in interface com.github.lpezet.java.patterns.throttle.
IThrottleStrategy
isThrottled()
- Method in class com.github.lpezet.java.patterns.throttle.
TokenBucketStrategy
isThrottled(long)
- Method in class com.github.lpezet.java.patterns.throttle.
TokenBucketStrategy
isTrue(boolean, String)
- Static method in class com.github.lpezet.java.patterns.util.
Assert
ISupervisor
<
T
> - Interface in
com.github.lpezet.java.patterns.supervisor
IThrottle
<
T
> - Interface in
com.github.lpezet.java.patterns.throttle
IThrottleStrategy
- Interface in
com.github.lpezet.java.patterns.throttle
IWorker
<
W
,
R
> - Interface in
com.github.lpezet.java.patterns.worker
IWorkSplitter
<
T
> - Interface in
com.github.lpezet.java.patterns.worker
L
LeakyTokenBucketStrategy
- Class in
com.github.lpezet.java.patterns.throttle
LeakyTokenBucketStrategy(long, IRefillStrategy, long, long, TimeUnit)
- Constructor for class com.github.lpezet.java.patterns.throttle.
LeakyTokenBucketStrategy
M
mBase
- Variable in class com.github.lpezet.java.patterns.throttle.
CyclicExponentialBackoffRefillStrategy
mCapacity
- Variable in class com.github.lpezet.java.patterns.throttle.
TokenBucketStrategy
merge(Collection<T>)
- Method in interface com.github.lpezet.java.patterns.worker.
IResultMerger
mLeaked
- Variable in class com.github.lpezet.java.patterns.throttle.
LeakyTokenBucketStrategy
mLeakInterval
- Variable in class com.github.lpezet.java.patterns.throttle.
LeakyTokenBucketStrategy
mLock
- Variable in class com.github.lpezet.java.patterns.loadbalancer.
SimpleListLoadBalancer
mMaxN
- Variable in class com.github.lpezet.java.patterns.throttle.
CyclicExponentialBackoffRefillStrategy
mNextRefillInterval
- Variable in class com.github.lpezet.java.patterns.throttle.
CyclicExponentialBackoffRefillStrategy
mNextRefillTime
- Variable in class com.github.lpezet.java.patterns.throttle.
TokenBucketStrategy
mRefillStrategy
- Variable in class com.github.lpezet.java.patterns.throttle.
TokenBucketStrategy
mTimeUnit
- Variable in class com.github.lpezet.java.patterns.throttle.
CyclicExponentialBackoffRefillStrategy
mTokens
- Variable in class com.github.lpezet.java.patterns.throttle.
TokenBucketStrategy
N
n
- Variable in class com.github.lpezet.java.patterns.throttle.
CyclicExponentialBackoffRefillStrategy
newBaseCircuitBreakerStrategy(ICircuitBreaker, ICircuitBreakerCondition)
- Static method in class com.github.lpezet.java.patterns.circuitbreaker.
CircuitBreakerStrategies
newBuilder(IWorker<W, R>)
- Static method in class com.github.lpezet.java.patterns.worker.
ChainBuilder
newSimpleCircuitBreakerStrategy(int, Class<? extends Exception>...)
- Static method in class com.github.lpezet.java.patterns.circuitbreaker.
CircuitBreakerStrategies
newSingleTryCircuitBreakerStrategy(ICircuitBreaker)
- Static method in class com.github.lpezet.java.patterns.circuitbreaker.
CircuitBreakerStrategies
newSingleTryCircuitBreakerStrategy()
- Static method in class com.github.lpezet.java.patterns.circuitbreaker.
CircuitBreakerStrategies
newSplit(int, int, W)
- Method in interface com.github.lpezet.java.patterns.worker.
Splitters.ISimpleSplitter
next()
- Method in class com.github.lpezet.java.patterns.loadbalancer.
BaseLoadBalancer
nextRefill(long)
- Method in class com.github.lpezet.java.patterns.throttle.
CyclicExponentialBackoffRefillStrategy
nextRefill(long)
- Method in class com.github.lpezet.java.patterns.throttle.
FixedRefillStrategy
nextRefill(long)
- Method in interface com.github.lpezet.java.patterns.throttle.
IRefillStrategy
O
onException(Exception)
- Method in interface com.github.lpezet.java.patterns.command.
Callback
onException(Exception)
- Method in interface com.github.lpezet.java.patterns.worker.
Callback
onResult(T)
- Method in interface com.github.lpezet.java.patterns.command.
Callback
onResult(T)
- Method in interface com.github.lpezet.java.patterns.worker.
Callback
P
pauseBeforeNextRetry(Callable<T>, int, Throwable)
- Method in class com.github.lpezet.java.patterns.retry.
ExponentialBackoffStrategy
pauseBeforeNextRetry(Callable<T>, int, Throwable)
- Method in interface com.github.lpezet.java.patterns.retry.
IBackoffStrategy
perform(W)
- Method in class com.github.lpezet.java.patterns.worker.
AbstractSPMWorker
perform(Collection<W>)
- Method in class com.github.lpezet.java.patterns.worker.
AbstractSPMWorker
perform(W)
- Method in class com.github.lpezet.java.patterns.worker.
AsyncWorker
perform(W)
- Method in class com.github.lpezet.java.patterns.worker.
ChainWorker
perform(W)
- Method in class com.github.lpezet.java.patterns.worker.
CircuitBreakerWorker
perform(W)
- Method in interface com.github.lpezet.java.patterns.worker.
IWorker
perform(W)
- Method in class com.github.lpezet.java.patterns.worker.
RetryWorker
perform(W)
- Method in class com.github.lpezet.java.patterns.worker.
SupervisorWorker
pickResource()
- Method in class com.github.lpezet.java.patterns.loadbalancer.
BaseLoadBalancer
pickResource()
- Method in class com.github.lpezet.java.patterns.loadbalancer.
RandomLoadBalancer
pickResource()
- Method in class com.github.lpezet.java.patterns.loadbalancer.
RoundRobinLoadBalancer
pickResource()
- Method in class com.github.lpezet.java.patterns.loadbalancer.
StickyLoadBalancer
R
RandomLoadBalancer
<
T
> - Class in
com.github.lpezet.java.patterns.loadbalancer
RandomLoadBalancer(SecureRandom)
- Constructor for class com.github.lpezet.java.patterns.loadbalancer.
RandomLoadBalancer
RandomLoadBalancer()
- Constructor for class com.github.lpezet.java.patterns.loadbalancer.
RandomLoadBalancer
remove()
- Method in class com.github.lpezet.java.patterns.loadbalancer.
BaseLoadBalancer
removeResource(T)
- Method in class com.github.lpezet.java.patterns.loadbalancer.
SimpleListLoadBalancer
reset()
- Method in interface com.github.lpezet.java.patterns.circuitbreaker.
ICircuitBreaker
reset()
- Method in class com.github.lpezet.java.patterns.circuitbreaker.
InMemoryCircuitBreaker
retry(S, IRetryStrategy)
- Static method in class com.github.lpezet.java.patterns.command.
Commands
retry(S, IRetryStrategy)
- Static method in class com.github.lpezet.java.patterns.worker.
Workers
RetryCommand
<
T
> - Class in
com.github.lpezet.java.patterns.command
RetryCommand(ICommand<T>, IRetryStrategy)
- Constructor for class com.github.lpezet.java.patterns.command.
RetryCommand
RetryStrategies
- Class in
com.github.lpezet.java.patterns.retry
RetryStrategies()
- Constructor for class com.github.lpezet.java.patterns.retry.
RetryStrategies
RetryWorker
<
W
,
R
> - Class in
com.github.lpezet.java.patterns.worker
RetryWorker(IWorker<W, R>, IRetryStrategy)
- Constructor for class com.github.lpezet.java.patterns.worker.
RetryWorker
RoundRobinLoadBalancer
<
T
> - Class in
com.github.lpezet.java.patterns.loadbalancer
RoundRobinLoadBalancer()
- Constructor for class com.github.lpezet.java.patterns.loadbalancer.
RoundRobinLoadBalancer
S
setCallback(Callback<T>)
- Method in class com.github.lpezet.java.patterns.command.
AsyncResult
setCallback(Callback<T>)
- Method in interface com.github.lpezet.java.patterns.command.
IAsyncResult
Set "method" to be called when result is available.
setCallback(Callback<R>)
- Method in class com.github.lpezet.java.patterns.worker.
AsyncResult
setCallback(Callback<R>)
- Method in interface com.github.lpezet.java.patterns.worker.
IAsyncResult
Set "method" to be called when result is available.
setExceptions(Class<? extends Exception>...)
- Method in class com.github.lpezet.java.patterns.retry.
BasicRetryCondition
setExceptionsToTrip(int)
- Method in class com.github.lpezet.java.patterns.circuitbreaker.
BaseCircuitBreakerCondition
setMaxBackoffInMillis(long)
- Method in class com.github.lpezet.java.patterns.retry.
ExponentialBackoffStrategy
setMaxExecutions(int)
- Method in class com.github.lpezet.java.patterns.retry.
BasicRetryCondition
setNumberOfHashGroups(int)
- Method in class com.github.lpezet.java.patterns.loadbalancer.
StickyLoadBalancer
setOpenToHalfOpenWaitTimeInMillis(long)
- Method in class com.github.lpezet.java.patterns.circuitbreaker.
SingleTryCircuitBreakerStrategy
setScaleFactor(int)
- Method in class com.github.lpezet.java.patterns.retry.
ExponentialBackoffStrategy
setTripers(Class<? extends Exception>[])
- Method in class com.github.lpezet.java.patterns.circuitbreaker.
BaseCircuitBreakerCondition
shouldRetry(Callable<T>, int, Throwable)
- Method in class com.github.lpezet.java.patterns.retry.
BasicRetryCondition
shouldRetry(Callable<T>, int, Throwable)
- Method in interface com.github.lpezet.java.patterns.retry.
IRetryCondition
shouldTrip(Throwable)
- Method in class com.github.lpezet.java.patterns.circuitbreaker.
BaseCircuitBreakerCondition
shouldTrip(Throwable)
- Method in interface com.github.lpezet.java.patterns.circuitbreaker.
ICircuitBreakerCondition
simple(IRetryCondition, IBackoffStrategy)
- Static method in class com.github.lpezet.java.patterns.retry.
RetryStrategies
SimpleListLoadBalancer
<
T
> - Class in
com.github.lpezet.java.patterns.loadbalancer
SimpleListLoadBalancer()
- Constructor for class com.github.lpezet.java.patterns.loadbalancer.
SimpleListLoadBalancer
SimpleSPMWorker
<
W
,
R
> - Class in
com.github.lpezet.java.patterns.worker
Simple Split, Process, Merge worker using a single implementation.
SimpleSPMWorker(ExecutorService, IWorkSplitter<W>, IResultMerger<R>, IWorker<W, R>)
- Constructor for class com.github.lpezet.java.patterns.worker.
SimpleSPMWorker
SingleTryCircuitBreakerStrategy
- Class in
com.github.lpezet.java.patterns.circuitbreaker
SingleTryCircuitBreakerStrategy()
- Constructor for class com.github.lpezet.java.patterns.circuitbreaker.
SingleTryCircuitBreakerStrategy
split(T)
- Method in interface com.github.lpezet.java.patterns.worker.
IWorkSplitter
splitByChunks(int, int, Splitters.ISimpleSplitter<T>)
- Static method in class com.github.lpezet.java.patterns.worker.
Splitters
Splitting working into fixed amount of chunks.
splitByChunkSize(int, Splitters.ISimpleSplitter<T>)
- Static method in class com.github.lpezet.java.patterns.worker.
Splitters
Splitting in fixed amount of work.
Splitters
- Class in
com.github.lpezet.java.patterns.worker
Splitters()
- Constructor for class com.github.lpezet.java.patterns.worker.
Splitters
Splitters.ISimpleSplitter
<
W
> - Interface in
com.github.lpezet.java.patterns.worker
StickyLoadBalancer
<
S
,
T
> - Class in
com.github.lpezet.java.patterns.loadbalancer
StickyLoadBalancer(ILoadBalancer<T>, ThreadLocal<S>, Map<Object, T>)
- Constructor for class com.github.lpezet.java.patterns.loadbalancer.
StickyLoadBalancer
supervise(S, long, TimeUnit)
- Static method in class com.github.lpezet.java.patterns.command.
Commands
supervise(Callable<T>)
- Method in interface com.github.lpezet.java.patterns.supervisor.
ISupervisor
supervise(Callable<T>)
- Method in class com.github.lpezet.java.patterns.supervisor.
Supervisor
supervise(S, long, TimeUnit)
- Static method in class com.github.lpezet.java.patterns.worker.
Workers
Supervisor
<
T
> - Class in
com.github.lpezet.java.patterns.supervisor
Supervisor(ExecutorService, long, TimeUnit)
- Constructor for class com.github.lpezet.java.patterns.supervisor.
Supervisor
SupervisorCommand
<
T
> - Class in
com.github.lpezet.java.patterns.command
SupervisorCommand(ICommand<T>, long, TimeUnit)
- Constructor for class com.github.lpezet.java.patterns.command.
SupervisorCommand
SupervisorCommand(ICommand<T>, ExecutorService, long, TimeUnit)
- Constructor for class com.github.lpezet.java.patterns.command.
SupervisorCommand
SupervisorWorker
<
W
,
R
> - Class in
com.github.lpezet.java.patterns.worker
SupervisorWorker(IWorker<W, R>, long, TimeUnit)
- Constructor for class com.github.lpezet.java.patterns.worker.
SupervisorWorker
SupervisorWorker(IWorker<W, R>, ExecutorService, long, TimeUnit)
- Constructor for class com.github.lpezet.java.patterns.worker.
SupervisorWorker
T
throttle(Callable<T>)
- Method in interface com.github.lpezet.java.patterns.throttle.
IThrottle
Throttle
<
T
> - Class in
com.github.lpezet.java.patterns.throttle
Throttle(IThrottleStrategy)
- Constructor for class com.github.lpezet.java.patterns.throttle.
Throttle
throttle(Callable<T>)
- Method in class com.github.lpezet.java.patterns.throttle.
Throttle
ThrottledException
- Exception in
com.github.lpezet.java.patterns.throttle
ThrottledException()
- Constructor for exception com.github.lpezet.java.patterns.throttle.
ThrottledException
ThrottledException(String, Throwable, boolean, boolean)
- Constructor for exception com.github.lpezet.java.patterns.throttle.
ThrottledException
ThrottledException(String, Throwable)
- Constructor for exception com.github.lpezet.java.patterns.throttle.
ThrottledException
ThrottledException(String)
- Constructor for exception com.github.lpezet.java.patterns.throttle.
ThrottledException
ThrottledException(Throwable)
- Constructor for exception com.github.lpezet.java.patterns.throttle.
ThrottledException
TimeoutException
- Exception in
com.github.lpezet.java.patterns.supervisor
TimeoutException()
- Constructor for exception com.github.lpezet.java.patterns.supervisor.
TimeoutException
TimeoutException(String, Throwable)
- Constructor for exception com.github.lpezet.java.patterns.supervisor.
TimeoutException
TimeoutException(String)
- Constructor for exception com.github.lpezet.java.patterns.supervisor.
TimeoutException
TimeoutException(Throwable)
- Constructor for exception com.github.lpezet.java.patterns.supervisor.
TimeoutException
TokenBucketStrategy
- Class in
com.github.lpezet.java.patterns.throttle
TokenBucketStrategy(long, IRefillStrategy)
- Constructor for class com.github.lpezet.java.patterns.throttle.
TokenBucketStrategy
trip(Throwable)
- Method in interface com.github.lpezet.java.patterns.circuitbreaker.
ICircuitBreaker
trip(Throwable)
- Method in class com.github.lpezet.java.patterns.circuitbreaker.
InMemoryCircuitBreaker
U
updateBackoff()
- Method in class com.github.lpezet.java.patterns.throttle.
CyclicExponentialBackoffRefillStrategy
updateTokens()
- Method in class com.github.lpezet.java.patterns.throttle.
FixedTokenBucketStrategy
updateTokens()
- Method in class com.github.lpezet.java.patterns.throttle.
LeakyTokenBucketStrategy
updateTokens()
- Method in class com.github.lpezet.java.patterns.throttle.
TokenBucketStrategy
V
valueOf(String)
- Static method in enum com.github.lpezet.java.patterns.circuitbreaker.
CircuitBreakerState
Returns the enum constant of this type with the specified name.
values()
- Static method in enum com.github.lpezet.java.patterns.circuitbreaker.
CircuitBreakerState
Returns an array containing the constants of this enum type, in the order they are declared.
W
Workers
- Class in
com.github.lpezet.java.patterns.worker
Workers()
- Constructor for class com.github.lpezet.java.patterns.worker.
Workers
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
U
V
W
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
lpezet