Skip navigation links
A B C D E F G H I L M N O P Q R S T U V W 

A

AbstractResilientPromise<T> - Class in net.uncontended.precipice.concurrent
 
AbstractResilientPromise() - Constructor for class net.uncontended.precipice.concurrent.AbstractResilientPromise
 
AbstractService - Class in net.uncontended.precipice
 
AbstractService(CircuitBreaker, ActionMetrics, PrecipiceSemaphore) - Constructor for class net.uncontended.precipice.AbstractService
 
AbstractService(CircuitBreaker, ActionMetrics, PrecipiceSemaphore, AtomicBoolean) - Constructor for class net.uncontended.precipice.AbstractService
 
acquirePermit() - Method in class net.uncontended.precipice.concurrent.IntegerSemaphore
 
acquirePermit() - Method in class net.uncontended.precipice.concurrent.NoOpSemaphore
 
acquirePermit() - Method in interface net.uncontended.precipice.concurrent.PrecipiceSemaphore
 
acquirePermitOrRejectIfActionNotAllowed() - Method in class net.uncontended.precipice.AbstractService
 
actionMetrics - Variable in class net.uncontended.precipice.AbstractService
 
ActionMetrics - Interface in net.uncontended.precipice.metrics
 
actionRejected() - Method in enum net.uncontended.precipice.metrics.Metric
 
ActionThreadPool - Class in net.uncontended.precipice.concurrent
 
ActionThreadPool(String, int) - Constructor for class net.uncontended.precipice.concurrent.ActionThreadPool
 
ActionTimeoutException - Exception in net.uncontended.precipice.timeout
 
ActionTimeoutException(String) - Constructor for exception net.uncontended.precipice.timeout.ActionTimeoutException
 
ActionTimeoutException(String, Throwable) - Constructor for exception net.uncontended.precipice.timeout.ActionTimeoutException
 
add(long) - Method in class net.uncontended.precipice.concurrent.LongAdder
Adds the given value.
allowAction() - Method in interface net.uncontended.precipice.circuit.CircuitBreaker
 
allowAction() - Method in class net.uncontended.precipice.circuit.DefaultCircuitBreaker
 
allowAction() - Method in class net.uncontended.precipice.circuit.NoOpCircuitBreaker
 
await() - Method in class net.uncontended.precipice.concurrent.AbstractResilientPromise
 
await(long, TimeUnit) - Method in class net.uncontended.precipice.concurrent.AbstractResilientPromise
 
await() - Method in interface net.uncontended.precipice.concurrent.ResilientPromise
Block on this promise being completed.
await(long, TimeUnit) - Method in interface net.uncontended.precipice.concurrent.ResilientPromise
 
awaitResult() - Method in class net.uncontended.precipice.concurrent.AbstractResilientPromise
 
awaitResult() - Method in interface net.uncontended.precipice.concurrent.ResilientPromise
Block on this promise being completed and return the result.

B

backOffTimeMillis - Variable in class net.uncontended.precipice.circuit.BreakerConfig
 
backOffTimeMillis - Variable in class net.uncontended.precipice.circuit.BreakerConfigBuilder
 
backOffTimeMillis(long) - Method in class net.uncontended.precipice.circuit.BreakerConfigBuilder
 
blockingPoll() - Method in class net.uncontended.precipice.concurrent.ExchangingQueue
 
BreakerConfig - Class in net.uncontended.precipice.circuit
Created by timbrooks on 11/10/14.
BreakerConfig(long, int, long, long, long) - Constructor for class net.uncontended.precipice.circuit.BreakerConfig
 
BreakerConfigBuilder - Class in net.uncontended.precipice.circuit
Created by timbrooks on 6/11/15.
BreakerConfigBuilder() - Constructor for class net.uncontended.precipice.circuit.BreakerConfigBuilder
 
build() - Method in class net.uncontended.precipice.circuit.BreakerConfigBuilder
 

C

cancel(boolean) - Method in class net.uncontended.precipice.concurrent.ResilientFuture
This will always throw UnsupportedOperationException.
CIRCUIT_OPEN - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
circuitBreaker - Variable in class net.uncontended.precipice.AbstractService
 
CircuitBreaker - Interface in net.uncontended.precipice.circuit
Created by timbrooks on 11/5/14.
compareTo(Delayed) - Method in class net.uncontended.precipice.concurrent.ResilientTask
 
CompletionPattern<C> - Interface in net.uncontended.precipice.pattern
 
CompletionService - Interface in net.uncontended.precipice
 
completionService(String, int, int) - Static method in class net.uncontended.precipice.Services
 
completionService(String, int, int, ActionMetrics) - Static method in class net.uncontended.precipice.Services
 
completionService(String, int, int, ActionMetrics, CircuitBreaker) - Static method in class net.uncontended.precipice.Services
 
completionService(ExecutorService, int, ActionMetrics, CircuitBreaker) - Static method in class net.uncontended.precipice.Services
 
completionServiceWithNoOpBreaker(String, int) - Static method in class net.uncontended.precipice.Services
 
completionServiceWithNoOpBreaker(String, int, int) - Static method in class net.uncontended.precipice.Services
 
currentTimeMillis() - Method in class net.uncontended.precipice.utils.SystemTime
 

D

decrement() - Method in class net.uncontended.precipice.concurrent.LongAdder
Equivalent to add(-1).
DefaultActionMetrics - Class in net.uncontended.precipice.metrics
 
DefaultActionMetrics() - Constructor for class net.uncontended.precipice.metrics.DefaultActionMetrics
 
DefaultActionMetrics(int, long, TimeUnit) - Constructor for class net.uncontended.precipice.metrics.DefaultActionMetrics
 
DefaultActionMetrics(int, long, TimeUnit, SystemTime) - Constructor for class net.uncontended.precipice.metrics.DefaultActionMetrics
 
DefaultCircuitBreaker - Class in net.uncontended.precipice.circuit
Created by timbrooks on 11/5/14.
DefaultCircuitBreaker(ActionMetrics, BreakerConfig) - Constructor for class net.uncontended.precipice.circuit.DefaultCircuitBreaker
 
DefaultCircuitBreaker(ActionMetrics, BreakerConfig, SystemTime) - Constructor for class net.uncontended.precipice.circuit.DefaultCircuitBreaker
 
DefaultCompletionService - Class in net.uncontended.precipice
 
DefaultCompletionService(ExecutorService, PrecipiceSemaphore) - Constructor for class net.uncontended.precipice.DefaultCompletionService
 
DefaultCompletionService(ExecutorService, PrecipiceSemaphore, ActionMetrics) - Constructor for class net.uncontended.precipice.DefaultCompletionService
 
DefaultCompletionService(ExecutorService, PrecipiceSemaphore, CircuitBreaker) - Constructor for class net.uncontended.precipice.DefaultCompletionService
 
DefaultCompletionService(ExecutorService, PrecipiceSemaphore, ActionMetrics, CircuitBreaker) - Constructor for class net.uncontended.precipice.DefaultCompletionService
 
DefaultCompletionService(ExecutorService, PrecipiceSemaphore, ActionMetrics, CircuitBreaker, AtomicBoolean) - Constructor for class net.uncontended.precipice.DefaultCompletionService
 
DefaultResilientPromise<T> - Class in net.uncontended.precipice.concurrent
 
DefaultResilientPromise() - Constructor for class net.uncontended.precipice.concurrent.DefaultResilientPromise
 
DefaultRunService - Class in net.uncontended.precipice
 
DefaultRunService(PrecipiceSemaphore) - Constructor for class net.uncontended.precipice.DefaultRunService
 
DefaultRunService(PrecipiceSemaphore, ActionMetrics) - Constructor for class net.uncontended.precipice.DefaultRunService
 
DefaultRunService(PrecipiceSemaphore, CircuitBreaker) - Constructor for class net.uncontended.precipice.DefaultRunService
 
DefaultRunService(PrecipiceSemaphore, ActionMetrics, CircuitBreaker) - Constructor for class net.uncontended.precipice.DefaultRunService
 
DefaultRunService(PrecipiceSemaphore, ActionMetrics, CircuitBreaker, AtomicBoolean) - Constructor for class net.uncontended.precipice.DefaultRunService
 
DefaultService - Class in net.uncontended.precipice
 
DefaultService(ExecutorService, PrecipiceSemaphore) - Constructor for class net.uncontended.precipice.DefaultService
 
DefaultService(ExecutorService, PrecipiceSemaphore, ActionMetrics) - Constructor for class net.uncontended.precipice.DefaultService
 
DefaultService(ExecutorService, PrecipiceSemaphore, CircuitBreaker) - Constructor for class net.uncontended.precipice.DefaultService
 
DefaultService(ExecutorService, PrecipiceSemaphore, ActionMetrics, CircuitBreaker) - Constructor for class net.uncontended.precipice.DefaultService
 
defaultService(String, int, int) - Static method in class net.uncontended.precipice.Services
 
defaultService(String, int, int, ActionMetrics) - Static method in class net.uncontended.precipice.Services
 
defaultService(String, int, int, ActionMetrics, CircuitBreaker) - Static method in class net.uncontended.precipice.Services
 
defaultService(ExecutorService, int, ActionMetrics, CircuitBreaker) - Static method in class net.uncontended.precipice.Services
 
defaultServiceWithNoOpBreaker(String, int, int) - Static method in class net.uncontended.precipice.Services
 
DefaultSubmissionService - Class in net.uncontended.precipice
 
DefaultSubmissionService(ExecutorService, PrecipiceSemaphore) - Constructor for class net.uncontended.precipice.DefaultSubmissionService
 
DefaultSubmissionService(ExecutorService, PrecipiceSemaphore, ActionMetrics) - Constructor for class net.uncontended.precipice.DefaultSubmissionService
 
DefaultSubmissionService(ExecutorService, PrecipiceSemaphore, CircuitBreaker) - Constructor for class net.uncontended.precipice.DefaultSubmissionService
 
DefaultSubmissionService(ExecutorService, PrecipiceSemaphore, ActionMetrics, CircuitBreaker) - Constructor for class net.uncontended.precipice.DefaultSubmissionService
 
DefaultSubmissionService(ExecutorService, PrecipiceSemaphore, ActionMetrics, CircuitBreaker, AtomicBoolean) - Constructor for class net.uncontended.precipice.DefaultSubmissionService
 
defaultTimeoutService - Static variable in class net.uncontended.precipice.timeout.TimeoutService
 
deliverError(Exception) - Method in class net.uncontended.precipice.concurrent.DefaultResilientPromise
 
deliverError(Exception) - Method in interface net.uncontended.precipice.concurrent.ResilientPromise
Deliver an error to this promise.
deliverError(Exception) - Method in class net.uncontended.precipice.concurrent.SingleWriterResilientPromise
 
deliverResult(T) - Method in class net.uncontended.precipice.concurrent.DefaultResilientPromise
 
deliverResult(T) - Method in interface net.uncontended.precipice.concurrent.ResilientPromise
Deliver the result to this promise.
deliverResult(T) - Method in class net.uncontended.precipice.concurrent.SingleWriterResilientPromise
 
doubleValue() - Method in class net.uncontended.precipice.concurrent.LongAdder
Returns the LongAdder.sum() as a double after a widening primitive conversion.
doubleValue() - Method in class net.uncontended.precipice.concurrent.LongMaxUpdater
Returns the LongMaxUpdater.max() as a double after a widening primitive conversion.

E

ERRORS - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
ExchangingQueue<T> - Class in net.uncontended.precipice.concurrent
 
ExchangingQueue(int) - Constructor for class net.uncontended.precipice.concurrent.ExchangingQueue
 
execute(Runnable) - Method in class net.uncontended.precipice.concurrent.ActionThreadPool
 
executorIndices() - Method in class net.uncontended.precipice.pattern.ShotgunStrategy
 

F

failurePercentage() - Method in class net.uncontended.precipice.metrics.HealthSnapshot
 
failurePercentageThreshold - Variable in class net.uncontended.precipice.circuit.BreakerConfig
 
failurePercentageThreshold - Variable in class net.uncontended.precipice.circuit.BreakerConfigBuilder
 
failurePercentageThreshold(int) - Method in class net.uncontended.precipice.circuit.BreakerConfigBuilder
 
failures - Variable in class net.uncontended.precipice.metrics.HealthSnapshot
 
failureThreshold - Variable in class net.uncontended.precipice.circuit.BreakerConfig
 
failureThreshold - Variable in class net.uncontended.precipice.circuit.BreakerConfigBuilder
 
failureThreshold(long) - Method in class net.uncontended.precipice.circuit.BreakerConfigBuilder
 
floatValue() - Method in class net.uncontended.precipice.concurrent.LongAdder
Returns the LongAdder.sum() as a float after a widening primitive conversion.
floatValue() - Method in class net.uncontended.precipice.concurrent.LongMaxUpdater
Returns the LongMaxUpdater.max() as a float after a widening primitive conversion.
forceClosed() - Method in interface net.uncontended.precipice.circuit.CircuitBreaker
 
forceClosed() - Method in class net.uncontended.precipice.circuit.DefaultCircuitBreaker
 
forceClosed() - Method in class net.uncontended.precipice.circuit.NoOpCircuitBreaker
 
forceOpen() - Method in interface net.uncontended.precipice.circuit.CircuitBreaker
 
forceOpen() - Method in class net.uncontended.precipice.circuit.DefaultCircuitBreaker
 
forceOpen() - Method in class net.uncontended.precipice.circuit.NoOpCircuitBreaker
 

G

generate(Slot[]) - Static method in class net.uncontended.precipice.metrics.Snapshot
 
get() - Method in class net.uncontended.precipice.concurrent.ResilientFuture
get(long, TimeUnit) - Method in class net.uncontended.precipice.concurrent.ResilientFuture
getAbsoluteSlot() - Method in class net.uncontended.precipice.metrics.Slot
 
getActionMetrics() - Method in class net.uncontended.precipice.AbstractService
 
getActionMetrics() - Method in interface net.uncontended.precipice.Service
Returns the ActionMetrics for this service.
getBreakerConfig() - Method in interface net.uncontended.precipice.circuit.CircuitBreaker
 
getBreakerConfig() - Method in class net.uncontended.precipice.circuit.DefaultCircuitBreaker
 
getBreakerConfig() - Method in class net.uncontended.precipice.circuit.NoOpCircuitBreaker
 
getCircuitBreaker() - Method in class net.uncontended.precipice.AbstractService
 
getCircuitBreaker() - Method in interface net.uncontended.precipice.Service
Returns the CircuitBreaker for this service.
getDelay(TimeUnit) - Method in class net.uncontended.precipice.concurrent.ResilientTask
 
getError() - Method in class net.uncontended.precipice.concurrent.AbstractResilientPromise
 
getError() - Method in interface net.uncontended.precipice.concurrent.ResilientPromise
Return any error that has been delivered.
getMetric(Metric) - Method in class net.uncontended.precipice.metrics.Slot
 
getMetricCountForTimePeriod(Metric, long, TimeUnit) - Method in interface net.uncontended.precipice.metrics.ActionMetrics
 
getMetricCountForTimePeriod(Metric, long, TimeUnit) - Method in class net.uncontended.precipice.metrics.DefaultActionMetrics
 
getResult() - Method in class net.uncontended.precipice.concurrent.AbstractResilientPromise
 
getResult() - Method in interface net.uncontended.precipice.concurrent.ResilientPromise
Return any result that has been delivered.
getStatus() - Method in class net.uncontended.precipice.concurrent.AbstractResilientPromise
 
getStatus() - Method in class net.uncontended.precipice.concurrent.ResilientFuture
Returns the Status of the future.
getStatus() - Method in interface net.uncontended.precipice.concurrent.ResilientPromise
Return the status of the promise.
getSubmissionCount() - Method in class net.uncontended.precipice.pattern.ShotgunStrategy
 

H

healthRefreshMillis - Variable in class net.uncontended.precipice.circuit.BreakerConfig
 
healthRefreshMillis - Variable in class net.uncontended.precipice.circuit.BreakerConfigBuilder
 
healthRefreshMillis(long) - Method in class net.uncontended.precipice.circuit.BreakerConfigBuilder
 
healthSnapshot(long, TimeUnit) - Method in interface net.uncontended.precipice.metrics.ActionMetrics
 
healthSnapshot(long, TimeUnit) - Method in class net.uncontended.precipice.metrics.DefaultActionMetrics
 
HealthSnapshot - Class in net.uncontended.precipice.metrics
 
HealthSnapshot(long, long, long) - Constructor for class net.uncontended.precipice.metrics.HealthSnapshot
 

I

increment() - Method in class net.uncontended.precipice.concurrent.LongAdder
Equivalent to add(1).
incrementMetric(Metric) - Method in class net.uncontended.precipice.metrics.Slot
 
incrementMetricCount(Metric) - Method in interface net.uncontended.precipice.metrics.ActionMetrics
 
incrementMetricCount(Metric) - Method in class net.uncontended.precipice.metrics.DefaultActionMetrics
 
informBreakerOfResult(boolean) - Method in interface net.uncontended.precipice.circuit.CircuitBreaker
 
informBreakerOfResult(boolean) - Method in class net.uncontended.precipice.circuit.DefaultCircuitBreaker
 
informBreakerOfResult(boolean) - Method in class net.uncontended.precipice.circuit.NoOpCircuitBreaker
 
IntegerSemaphore - Class in net.uncontended.precipice.concurrent
 
IntegerSemaphore(int) - Constructor for class net.uncontended.precipice.concurrent.IntegerSemaphore
 
intValue() - Method in class net.uncontended.precipice.concurrent.LongAdder
Returns the LongAdder.sum() as an int after a narrowing primitive conversion.
intValue() - Method in class net.uncontended.precipice.concurrent.LongMaxUpdater
Returns the LongMaxUpdater.max() as an int after a narrowing primitive conversion.
isCancelled() - Method in class net.uncontended.precipice.concurrent.ResilientFuture
This will always return false since cancelling is not supported.
isDone() - Method in class net.uncontended.precipice.concurrent.AbstractResilientPromise
 
isDone() - Method in class net.uncontended.precipice.concurrent.ResilientFuture
isDone() - Method in interface net.uncontended.precipice.concurrent.ResilientPromise
Indicate if the Status of the promise is not pending.
isError() - Method in class net.uncontended.precipice.concurrent.AbstractResilientPromise
 
isError() - Method in interface net.uncontended.precipice.concurrent.ResilientPromise
Indicate if the Status of the promise is error.
isOpen() - Method in interface net.uncontended.precipice.circuit.CircuitBreaker
 
isOpen() - Method in class net.uncontended.precipice.circuit.DefaultCircuitBreaker
 
isOpen() - Method in class net.uncontended.precipice.circuit.NoOpCircuitBreaker
 
isShutdown - Variable in class net.uncontended.precipice.AbstractService
 
isSuccessful() - Method in class net.uncontended.precipice.concurrent.AbstractResilientPromise
 
isSuccessful() - Method in interface net.uncontended.precipice.concurrent.ResilientPromise
Indicate if the Status of the promise is successful.
isTimedOut() - Method in class net.uncontended.precipice.concurrent.AbstractResilientPromise
 
isTimedOut() - Method in interface net.uncontended.precipice.concurrent.ResilientPromise
Indicate if the Status of the promise is timeout.

L

LoadBalancer<C> - Class in net.uncontended.precipice.pattern
 
LoadBalancer(Map<MultiService, C>, LoadBalancerStrategy) - Constructor for class net.uncontended.precipice.pattern.LoadBalancer
 
LoadBalancers - Class in net.uncontended.precipice.pattern
 
LoadBalancers() - Constructor for class net.uncontended.precipice.pattern.LoadBalancers
 
LoadBalancerStrategy - Interface in net.uncontended.precipice.pattern
 
LongAdder - Class in net.uncontended.precipice.concurrent
One or more variables that together maintain an initially zero long sum.
LongAdder() - Constructor for class net.uncontended.precipice.concurrent.LongAdder
Creates a new adder with initial sum of zero.
LongMaxUpdater - Class in net.uncontended.precipice.concurrent
One or more variables that together maintain a running long maximum with initial value Long.MIN_VALUE.
LongMaxUpdater() - Constructor for class net.uncontended.precipice.concurrent.LongMaxUpdater
Creates a new instance with initial maximum of Long.MIN_VALUE.
longValue() - Method in class net.uncontended.precipice.concurrent.LongAdder
Equivalent to LongAdder.sum().
longValue() - Method in class net.uncontended.precipice.concurrent.LongMaxUpdater
Equivalent to LongMaxUpdater.max().

M

max() - Method in class net.uncontended.precipice.concurrent.LongMaxUpdater
Returns the current maximum.
MAX_1_CIRCUIT_OPEN - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
MAX_1_ERRORS - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
MAX_1_MAX_CONCURRENCY - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
MAX_1_QUEUE_FULL - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
MAX_1_SUCCESSES - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
MAX_1_TIMEOUTS - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
MAX_1_TOTAL - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
MAX_2_CIRCUIT_OPEN - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
MAX_2_ERRORS - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
MAX_2_MAX_CONCURRENCY - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
MAX_2_QUEUE_FULL - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
MAX_2_SUCCESSES - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
MAX_2_TIMEOUTS - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
MAX_2_TOTAL - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
MAX_CONCURRENCY - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
MAX_CONCURRENCY_LEVEL - Static variable in interface net.uncontended.precipice.Service
 
MAX_TIMEOUT_MILLIS - Static variable in interface net.uncontended.precipice.Service
 
maxThenReset() - Method in class net.uncontended.precipice.concurrent.LongMaxUpdater
Equivalent in effect to LongMaxUpdater.max() followed by LongMaxUpdater.reset().
Metric - Enum in net.uncontended.precipice.metrics
 
millisAbsoluteTimeout - Variable in class net.uncontended.precipice.concurrent.ResilientTask
 
MultiPattern<C> - Interface in net.uncontended.precipice.pattern
 
MultiService - Interface in net.uncontended.precipice
 

N

nanoTime() - Method in class net.uncontended.precipice.utils.SystemTime
 
net.uncontended.precipice - package net.uncontended.precipice
 
net.uncontended.precipice.circuit - package net.uncontended.precipice.circuit
 
net.uncontended.precipice.concurrent - package net.uncontended.precipice.concurrent
 
net.uncontended.precipice.metrics - package net.uncontended.precipice.metrics
 
net.uncontended.precipice.pattern - package net.uncontended.precipice.pattern
 
net.uncontended.precipice.timeout - package net.uncontended.precipice.timeout
 
net.uncontended.precipice.utils - package net.uncontended.precipice.utils
 
newRoundRobin(Map<MultiService, C>) - Static method in class net.uncontended.precipice.pattern.LoadBalancers
 
newRoundRobinWithSharedPool(List<C>, String, int, int) - Static method in class net.uncontended.precipice.pattern.LoadBalancers
 
newThread(Runnable) - Method in class net.uncontended.precipice.utils.ServiceThreadFactory
 
nextExecutorIndex() - Method in interface net.uncontended.precipice.pattern.LoadBalancerStrategy
 
nextExecutorIndex() - Method in class net.uncontended.precipice.pattern.RoundRobinStrategy
 
NoOpCircuitBreaker - Class in net.uncontended.precipice.circuit
Created by timbrooks on 11/5/14.
NoOpCircuitBreaker() - Constructor for class net.uncontended.precipice.circuit.NoOpCircuitBreaker
 
NoOpSemaphore - Class in net.uncontended.precipice.concurrent
 
NoOpSemaphore() - Constructor for class net.uncontended.precipice.concurrent.NoOpSemaphore
 

O

offer(T) - Method in class net.uncontended.precipice.concurrent.ExchangingQueue
 

P

Pattern - Interface in net.uncontended.precipice.pattern
 
poll() - Method in class net.uncontended.precipice.concurrent.ExchangingQueue
 
PrecipiceExecutors - Class in net.uncontended.precipice.utils
 
PrecipiceExecutors() - Constructor for class net.uncontended.precipice.utils.PrecipiceExecutors
 
PrecipiceSemaphore - Interface in net.uncontended.precipice.concurrent
 
promise - Variable in class net.uncontended.precipice.concurrent.ResilientFuture
 

Q

QUEUE_FULL - Static variable in class net.uncontended.precipice.metrics.Snapshot
 

R

reason - Variable in exception net.uncontended.precipice.RejectedActionException
 
RejectedActionException - Exception in net.uncontended.precipice
 
RejectedActionException(RejectionReason) - Constructor for exception net.uncontended.precipice.RejectedActionException
 
rejectionPercentage() - Method in class net.uncontended.precipice.metrics.HealthSnapshot
 
RejectionReason - Enum in net.uncontended.precipice
 
rejections - Variable in class net.uncontended.precipice.metrics.HealthSnapshot
 
releasePermit() - Method in class net.uncontended.precipice.concurrent.IntegerSemaphore
 
releasePermit() - Method in class net.uncontended.precipice.concurrent.NoOpSemaphore
 
releasePermit() - Method in interface net.uncontended.precipice.concurrent.PrecipiceSemaphore
 
reset() - Method in class net.uncontended.precipice.concurrent.LongAdder
Resets variables maintaining the sum to zero.
reset() - Method in class net.uncontended.precipice.concurrent.LongMaxUpdater
Resets variables maintaining updates to Long.MIN_VALUE.
ResilientAction<T> - Interface in net.uncontended.precipice
An action that returns a result and may throw an exception.
ResilientCallback<T> - Interface in net.uncontended.precipice
 
ResilientFuture<T> - Class in net.uncontended.precipice.concurrent
A class wrapping the result of an action that will be completed at some point in the future.
ResilientFuture(ResilientPromise<T>) - Constructor for class net.uncontended.precipice.concurrent.ResilientFuture
 
ResilientPatternAction<T,C> - Interface in net.uncontended.precipice.pattern
An action that returns a result and may throw an exception.
ResilientPromise<T> - Interface in net.uncontended.precipice.concurrent
A class wrapping the result of an action that will be completed at some point in the future.
ResilientTask<T> - Class in net.uncontended.precipice.concurrent
 
ResilientTask(ActionMetrics, PrecipiceSemaphore, CircuitBreaker, ResilientAction<T>, ResilientCallback<T>, ResilientPromise<T>, long) - Constructor for class net.uncontended.precipice.concurrent.ResilientTask
 
result - Variable in class net.uncontended.precipice.concurrent.AbstractResilientPromise
 
RoundRobinStrategy - Class in net.uncontended.precipice.pattern
 
RoundRobinStrategy(int) - Constructor for class net.uncontended.precipice.pattern.RoundRobinStrategy
 
RoundRobinStrategy(int, AtomicInteger) - Constructor for class net.uncontended.precipice.pattern.RoundRobinStrategy
 
run() - Method in class net.uncontended.precipice.concurrent.ResilientTask
 
run(ResilientAction<T>) - Method in class net.uncontended.precipice.DefaultRunService
 
run(ResilientAction<T>) - Method in class net.uncontended.precipice.DefaultService
 
run(ResilientPatternAction<T, C>) - Method in class net.uncontended.precipice.pattern.LoadBalancer
 
run(C) - Method in interface net.uncontended.precipice.pattern.ResilientPatternAction
 
run(ResilientPatternAction<T, C>) - Method in interface net.uncontended.precipice.pattern.RunPattern
Performs a ResilientPatternAction that will be run synchronously on the calling thread.
run() - Method in interface net.uncontended.precipice.ResilientAction
 
run(ResilientPromise<T>) - Method in interface net.uncontended.precipice.ResilientCallback
 
run(ResilientAction<T>) - Method in interface net.uncontended.precipice.RunService
Performs a ResilientAction that will be run synchronously on the calling thread.
RunPattern<C> - Interface in net.uncontended.precipice.pattern
 
RunService - Interface in net.uncontended.precipice
 
runService(String, int) - Static method in class net.uncontended.precipice.Services
 
runService(String, int, ActionMetrics) - Static method in class net.uncontended.precipice.Services
 
runService(String, int, CircuitBreaker) - Static method in class net.uncontended.precipice.Services
 
runService(String, int, ActionMetrics, CircuitBreaker) - Static method in class net.uncontended.precipice.Services
 

S

scheduleTimeout(ResilientTask<?>) - Method in class net.uncontended.precipice.timeout.TimeoutService
 
semaphore - Variable in class net.uncontended.precipice.AbstractService
 
Service - Interface in net.uncontended.precipice
 
Services - Class in net.uncontended.precipice
 
Services() - Constructor for class net.uncontended.precipice.Services
 
ServiceThreadFactory - Class in net.uncontended.precipice.utils
 
ServiceThreadFactory(String) - Constructor for class net.uncontended.precipice.utils.ServiceThreadFactory
 
setBreakerConfig(BreakerConfig) - Method in interface net.uncontended.precipice.circuit.CircuitBreaker
 
setBreakerConfig(BreakerConfig) - Method in class net.uncontended.precipice.circuit.DefaultCircuitBreaker
 
setBreakerConfig(BreakerConfig) - Method in class net.uncontended.precipice.circuit.NoOpCircuitBreaker
 
setTimedOut() - Method in class net.uncontended.precipice.concurrent.DefaultResilientPromise
 
setTimedOut() - Method in interface net.uncontended.precipice.concurrent.ResilientPromise
Set the promise Status to timeout.
setTimedOut() - Method in class net.uncontended.precipice.concurrent.ResilientTask
 
setTimedOut() - Method in class net.uncontended.precipice.concurrent.SingleWriterResilientPromise
 
Shotgun<C> - Class in net.uncontended.precipice.pattern
 
Shotgun(Map<CompletionService, C>, int) - Constructor for class net.uncontended.precipice.pattern.Shotgun
 
Shotgun(Map<CompletionService, C>, int, ShotgunStrategy) - Constructor for class net.uncontended.precipice.pattern.Shotgun
 
ShotgunStrategy - Class in net.uncontended.precipice.pattern
 
ShotgunStrategy(int, int) - Constructor for class net.uncontended.precipice.pattern.ShotgunStrategy
 
shutdown() - Method in class net.uncontended.precipice.concurrent.ActionThreadPool
 
shutdown() - Method in class net.uncontended.precipice.DefaultCompletionService
 
shutdown() - Method in class net.uncontended.precipice.DefaultRunService
 
shutdown() - Method in class net.uncontended.precipice.DefaultService
 
shutdown() - Method in class net.uncontended.precipice.DefaultSubmissionService
 
shutdown() - Method in class net.uncontended.precipice.pattern.LoadBalancer
 
shutdown() - Method in interface net.uncontended.precipice.pattern.Pattern
Attempts to shutdown all the services.
shutdown() - Method in class net.uncontended.precipice.pattern.Shotgun
 
shutdown() - Method in interface net.uncontended.precipice.Service
Attempts to shutdown the service.
signalTaskComplete(ActionThreadPool.ThreadManager) - Method in class net.uncontended.precipice.concurrent.ActionThreadPool
 
SingleWriterResilientPromise<T> - Class in net.uncontended.precipice.concurrent
A class wrapping the result of an action.
SingleWriterResilientPromise() - Constructor for class net.uncontended.precipice.concurrent.SingleWriterResilientPromise
 
Slot - Class in net.uncontended.precipice.metrics
 
Slot(long) - Constructor for class net.uncontended.precipice.metrics.Slot
 
snapshot(long, TimeUnit) - Method in interface net.uncontended.precipice.metrics.ActionMetrics
 
snapshot(long, TimeUnit) - Method in class net.uncontended.precipice.metrics.DefaultActionMetrics
 
Snapshot - Class in net.uncontended.precipice.metrics
 
Snapshot() - Constructor for class net.uncontended.precipice.metrics.Snapshot
 
status - Variable in class net.uncontended.precipice.concurrent.ResilientTask
 
Status - Enum in net.uncontended.precipice
 
statusToMetric(Status) - Static method in enum net.uncontended.precipice.metrics.Metric
 
SubmissionPattern<C> - Interface in net.uncontended.precipice.pattern
A group of services that actions can be run on.
submissionService(String, int, int) - Static method in class net.uncontended.precipice.Services
 
submissionService(String, int, int, ActionMetrics) - Static method in class net.uncontended.precipice.Services
 
submissionService(String, int, int, CircuitBreaker) - Static method in class net.uncontended.precipice.Services
 
submissionService(String, int, int, ActionMetrics, CircuitBreaker) - Static method in class net.uncontended.precipice.Services
 
submissionService(ExecutorService, int, ActionMetrics, CircuitBreaker) - Static method in class net.uncontended.precipice.Services
 
SubmissionService - Interface in net.uncontended.precipice
A service that actions can be submitted to or performed on.
submit(ResilientAction<T>, long) - Method in class net.uncontended.precipice.DefaultService
 
submit(ResilientAction<T>, ResilientCallback<T>, long) - Method in class net.uncontended.precipice.DefaultService
 
submit(ResilientAction<T>, long) - Method in class net.uncontended.precipice.DefaultSubmissionService
 
submit(ResilientAction<T>, ResilientCallback<T>, long) - Method in class net.uncontended.precipice.DefaultSubmissionService
 
submit(ResilientPatternAction<T, C>, long) - Method in class net.uncontended.precipice.pattern.LoadBalancer
 
submit(ResilientPatternAction<T, C>, ResilientCallback<T>, long) - Method in class net.uncontended.precipice.pattern.LoadBalancer
 
submit(ResilientPatternAction<T, C>, long) - Method in class net.uncontended.precipice.pattern.Shotgun
 
submit(ResilientPatternAction<T, C>, ResilientCallback<T>, long) - Method in class net.uncontended.precipice.pattern.Shotgun
 
submit(ResilientPatternAction<T, C>, long) - Method in interface net.uncontended.precipice.pattern.SubmissionPattern
Submits a ResilientPatternAction that will be run asynchronously.
submit(ResilientPatternAction<T, C>, ResilientCallback<T>, long) - Method in interface net.uncontended.precipice.pattern.SubmissionPattern
Submits a ResilientPatternAction that will be run asynchronously similar to SubmissionPattern.submit(ResilientPatternAction, long).
submit(ResilientAction<T>, long) - Method in interface net.uncontended.precipice.SubmissionService
Submits a ResilientAction that will be run asynchronously.
submit(ResilientAction<T>, ResilientCallback<T>, long) - Method in interface net.uncontended.precipice.SubmissionService
Submits a ResilientAction that will be run asynchronously similar to SubmissionService.submit(ResilientAction, long).
submitAndComplete(ResilientAction<T>, ResilientPromise<T>, long) - Method in interface net.uncontended.precipice.CompletionService
Submits a ResilientAction that will be run asynchronously.
submitAndComplete(ResilientAction<T>, ResilientPromise<T>, ResilientCallback<T>, long) - Method in interface net.uncontended.precipice.CompletionService
Submits a ResilientAction that will be run asynchronously.
submitAndComplete(ResilientAction<T>, ResilientPromise<T>, long) - Method in class net.uncontended.precipice.DefaultCompletionService
 
submitAndComplete(ResilientAction<T>, ResilientPromise<T>, ResilientCallback<T>, long) - Method in class net.uncontended.precipice.DefaultCompletionService
 
submitAndComplete(ResilientAction<T>, ResilientPromise<T>, long) - Method in class net.uncontended.precipice.DefaultService
 
submitAndComplete(ResilientAction<T>, ResilientPromise<T>, ResilientCallback<T>, long) - Method in class net.uncontended.precipice.DefaultService
 
submitAndComplete(ResilientPatternAction<T, C>, ResilientPromise<T>, long) - Method in interface net.uncontended.precipice.pattern.CompletionPattern
Submits a ResilientPatternAction that will be run asynchronously.
submitAndComplete(ResilientPatternAction<T, C>, ResilientPromise<T>, ResilientCallback<T>, long) - Method in interface net.uncontended.precipice.pattern.CompletionPattern
Submits a ResilientPatternAction that will be run asynchronously.
submitAndComplete(ResilientPatternAction<T, C>, ResilientPromise<T>, long) - Method in class net.uncontended.precipice.pattern.LoadBalancer
 
submitAndComplete(ResilientPatternAction<T, C>, ResilientPromise<T>, ResilientCallback<T>, long) - Method in class net.uncontended.precipice.pattern.LoadBalancer
 
submitAndComplete(ResilientPatternAction<T, C>, ResilientPromise<T>, long) - Method in class net.uncontended.precipice.pattern.Shotgun
 
submitAndComplete(ResilientPatternAction<T, C>, ResilientPromise<T>, ResilientCallback<T>, long) - Method in class net.uncontended.precipice.pattern.Shotgun
 
SUCCESSES - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
sum() - Method in class net.uncontended.precipice.concurrent.LongAdder
Returns the current sum.
sumThenReset() - Method in class net.uncontended.precipice.concurrent.LongAdder
Equivalent in effect to LongAdder.sum() followed by LongAdder.reset().
SystemTime - Class in net.uncontended.precipice.utils
 
SystemTime() - Constructor for class net.uncontended.precipice.utils.SystemTime
 

T

threadPoolExecutor(String, int, int) - Static method in class net.uncontended.precipice.utils.PrecipiceExecutors
 
TIMEOUTS - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
TimeoutService - Class in net.uncontended.precipice.timeout
 
TimeoutService(String) - Constructor for class net.uncontended.precipice.timeout.TimeoutService
 
toString() - Method in class net.uncontended.precipice.concurrent.LongAdder
Returns the String representation of the LongAdder.sum().
toString() - Method in class net.uncontended.precipice.concurrent.LongMaxUpdater
Returns the String representation of the LongMaxUpdater.max().
toString() - Method in class net.uncontended.precipice.metrics.Slot
 
total - Variable in class net.uncontended.precipice.metrics.HealthSnapshot
 
TOTAL - Static variable in class net.uncontended.precipice.metrics.Snapshot
 
trailingPeriodMillis - Variable in class net.uncontended.precipice.circuit.BreakerConfig
 
trailingPeriodMillis - Variable in class net.uncontended.precipice.circuit.BreakerConfigBuilder
 
trailingPeriodMillis(long) - Method in class net.uncontended.precipice.circuit.BreakerConfigBuilder
 

U

update(long) - Method in class net.uncontended.precipice.concurrent.LongMaxUpdater
Updates the maximum to be at least the given value.

V

valueOf(String) - Static method in enum net.uncontended.precipice.metrics.Metric
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.uncontended.precipice.RejectionReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum net.uncontended.precipice.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.uncontended.precipice.metrics.Metric
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.uncontended.precipice.RejectionReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum net.uncontended.precipice.Status
Returns an array containing the constants of this enum type, in the order they are declared.

W

wrapPromise(ResilientPromise<T>) - Method in class net.uncontended.precipice.concurrent.AbstractResilientPromise
 
A B C D E F G H I L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2014 Tim Brooks. All Rights Reserved.