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

A

after(Duration) - Method in class com.google.code.tempusfugit.concurrency.Interrupter
 
apply(Statement, Description) - Method in class com.google.code.tempusfugit.concurrency.ConcurrentRule
 
apply(Statement, Description) - Method in class com.google.code.tempusfugit.concurrency.RepeatingRule
 
as(Class<E>) - Static method in class com.google.code.tempusfugit.WithException
 
assertion(T, Matcher<T>) - Static method in class com.google.code.tempusfugit.condition.Conditions
assertion(Callable<T, RuntimeException>, Matcher<T>) - Static method in class com.google.code.tempusfugit.condition.Conditions
 
assertThat(Condition, Matcher<Boolean>) - Static method in class com.google.code.tempusfugit.condition.Conditions
 
assertThat(String, Condition, Matcher<Boolean>) - Static method in class com.google.code.tempusfugit.condition.Conditions
 
await(CountDownLatch) - Static method in class com.google.code.tempusfugit.concurrency.CountDownLatchWithTimeout
 

C

call() - Method in interface com.google.code.tempusfugit.concurrency.Callable
 
call() - Method in interface com.google.code.tempusfugit.concurrency.Interruptible
 
call() - Method in class com.google.code.tempusfugit.temporal.SimulateJUnitFailure
 
Callable<V,E extends Exception> - Interface in com.google.code.tempusfugit.concurrency
 
CallableAdapter - Class in com.google.code.tempusfugit.concurrency
 
CallableAdapter() - Constructor for class com.google.code.tempusfugit.concurrency.CallableAdapter
 
cancel() - Method in class com.google.code.tempusfugit.concurrency.Interrupter
 
ClassInvariantViolation - Exception in com.google.code.tempusfugit
This exception is used to explicitly capture invariants and force runtime exceptions if they are violated.
ClassInvariantViolation() - Constructor for exception com.google.code.tempusfugit.ClassInvariantViolation
 
ClassInvariantViolation(String) - Constructor for exception com.google.code.tempusfugit.ClassInvariantViolation
 
ClassInvariantViolation(String, Throwable) - Constructor for exception com.google.code.tempusfugit.ClassInvariantViolation
 
ClassInvariantViolation(Throwable) - Constructor for exception com.google.code.tempusfugit.ClassInvariantViolation
 
Clock - Interface in com.google.code.tempusfugit.temporal
 
com.google.code.tempusfugit - package com.google.code.tempusfugit
 
com.google.code.tempusfugit.concurrency - package com.google.code.tempusfugit.concurrency
 
com.google.code.tempusfugit.concurrency.annotations - package com.google.code.tempusfugit.concurrency.annotations
 
com.google.code.tempusfugit.condition - package com.google.code.tempusfugit.condition
 
com.google.code.tempusfugit.temporal - package com.google.code.tempusfugit.temporal
 
compareTo(Duration) - Method in class com.google.code.tempusfugit.temporal.Duration
 
CompositeFactory<T> - Class in com.google.code.tempusfugit
 
CompositeFactory(Factory<T>...) - Constructor for class com.google.code.tempusfugit.CompositeFactory
 
Concurrent - Annotation Type in com.google.code.tempusfugit.concurrency.annotations
Annotation to mark a method as being potentially run concurrently.
ConcurrentRule - Class in com.google.code.tempusfugit.concurrency
 
ConcurrentRule() - Constructor for class com.google.code.tempusfugit.concurrency.ConcurrentRule
 
ConcurrentTestRunner - Class in com.google.code.tempusfugit.concurrency
 
ConcurrentTestRunner(Class<?>) - Constructor for class com.google.code.tempusfugit.concurrency.ConcurrentTestRunner
 
condition(Callable<Boolean>) - Static method in class com.google.code.tempusfugit.concurrency.CallableAdapter
 
Condition - Interface in com.google.code.tempusfugit.temporal
 
Conditions - Class in com.google.code.tempusfugit.condition
 
Conditions() - Constructor for class com.google.code.tempusfugit.condition.Conditions
 
CountDownLatchWithTimeout - Class in com.google.code.tempusfugit.concurrency
 
create() - Method in class com.google.code.tempusfugit.CompositeFactory
 
create() - Method in interface com.google.code.tempusfugit.Factory
 

D

days(long) - Static method in class com.google.code.tempusfugit.temporal.Duration
 
DeadlockDetector - Class in com.google.code.tempusfugit.concurrency
Detect Java-level deadlocks both intrinsic and Lock based.
DeadlockDetector() - Constructor for class com.google.code.tempusfugit.concurrency.DeadlockDetector
 
Deadlocks - Class in com.google.code.tempusfugit.concurrency
 
Deadlocks() - Constructor for class com.google.code.tempusfugit.concurrency.Deadlocks
 
DefaultThreadFactory - Class in com.google.code.tempusfugit.concurrency
 
DefaultThreadFactory() - Constructor for class com.google.code.tempusfugit.concurrency.DefaultThreadFactory
 
DefaultTimeoutableCompletionService - Class in com.google.code.tempusfugit.concurrency
 
DefaultTimeoutableCompletionService(CompletionService) - Constructor for class com.google.code.tempusfugit.concurrency.DefaultTimeoutableCompletionService
 
DefaultTimeoutableCompletionService(CompletionService, Duration, Clock) - Constructor for class com.google.code.tempusfugit.concurrency.DefaultTimeoutableCompletionService
 
describeTo(Description) - Method in class com.google.code.tempusfugit.condition.SelfDescribingMatcherCondition
 
detected() - Method in class com.google.code.tempusfugit.concurrency.Deadlocks
 
dumpThreads(OutputStream) - Static method in class com.google.code.tempusfugit.concurrency.ThreadDump
 
Duration - Class in com.google.code.tempusfugit.temporal
 
duration() - Method in class com.google.code.tempusfugit.temporal.UpTo
 

E

elapsedTime() - Method in interface com.google.code.tempusfugit.temporal.StopWatch
 
elapsedTime() - Method in class com.google.code.tempusfugit.temporal.ThreadLocalTimer
 
elapsedTime() - Method in class com.google.code.tempusfugit.temporal.Timer
 
equals(Object) - Method in class com.google.code.tempusfugit.temporal.Duration
 
ExceptionWrapper - Class in com.google.code.tempusfugit
 
ExceptionWrapper() - Constructor for class com.google.code.tempusfugit.ExceptionWrapper
 
execute(Callable<T, E>) - Static method in class com.google.code.tempusfugit.concurrency.ExecuteUsingLock
 
ExecuteUsingLock<T,E extends Exception> - Class in com.google.code.tempusfugit.concurrency
 
ExecutorServiceShutdown - Class in com.google.code.tempusfugit.concurrency
 
ExecutorShutdownCondition - Class in com.google.code.tempusfugit.condition
 
ExecutorShutdownCondition(ExecutorService) - Constructor for class com.google.code.tempusfugit.condition.ExecutorShutdownCondition
 

F

Factory<T> - Interface in com.google.code.tempusfugit
 
FactoryException - Exception in com.google.code.tempusfugit
 
FactoryException() - Constructor for exception com.google.code.tempusfugit.FactoryException
 
FactoryException(String) - Constructor for exception com.google.code.tempusfugit.FactoryException
 
FactoryException(String, Throwable) - Constructor for exception com.google.code.tempusfugit.FactoryException
 
FactoryException(Throwable) - Constructor for exception com.google.code.tempusfugit.FactoryException
 
failOnTimeout(SelfDescribingCondition) - Static method in class com.google.code.tempusfugit.temporal.SimulateJUnitFailure
 

G

getInterrupters() - Method in class com.google.code.tempusfugit.concurrency.InterruptCapturingThread
 
getResults() - Method in exception com.google.code.tempusfugit.concurrency.TimeoutExceptionWithResults
 
getStartDate() - Method in class com.google.code.tempusfugit.temporal.Timer
Deprecated.
getType() - Method in class com.google.code.tempusfugit.WithException
 
greaterThan(Duration) - Method in class com.google.code.tempusfugit.temporal.Duration
 
GuardedBy - Annotation Type in com.google.code.tempusfugit.concurrency.annotations
Based on the annotation of the same name by Brian Goetz and Tim Tim Peierls.
GuardedBy.Type - Enum in com.google.code.tempusfugit.concurrency.annotations
 

H

hasExpired() - Method in class com.google.code.tempusfugit.temporal.Timeout
 
hashCode() - Method in class com.google.code.tempusfugit.temporal.Duration
 
hours(long) - Static method in class com.google.code.tempusfugit.temporal.Duration
 

I

Immutable - Annotation Type in com.google.code.tempusfugit.concurrency.annotations
 
incrementBy(Duration) - Method in class com.google.code.tempusfugit.temporal.MovableClock
 
inDays() - Method in class com.google.code.tempusfugit.temporal.Duration
 
inHours() - Method in class com.google.code.tempusfugit.temporal.Duration
 
inMillis() - Method in class com.google.code.tempusfugit.temporal.Duration
 
inMinutes() - Method in class com.google.code.tempusfugit.temporal.Duration
 
inSeconds() - Method in class com.google.code.tempusfugit.temporal.Duration
 
Intermittent - Annotation Type in com.google.code.tempusfugit.concurrency.annotations
Annotation to highlight intermittently failing test methods or classes.
IntermittentTestRunner - Class in com.google.code.tempusfugit.concurrency
 
IntermittentTestRunner(Class<?>) - Constructor for class com.google.code.tempusfugit.concurrency.IntermittentTestRunner
 
interrupt() - Method in class com.google.code.tempusfugit.concurrency.InterruptCapturingThread
 
interrupt(Thread) - Static method in class com.google.code.tempusfugit.concurrency.Interrupter
 
InterruptCapturingThread - Class in com.google.code.tempusfugit.concurrency
 
InterruptCapturingThread() - Constructor for class com.google.code.tempusfugit.concurrency.InterruptCapturingThread
 
InterruptCapturingThread(Runnable) - Constructor for class com.google.code.tempusfugit.concurrency.InterruptCapturingThread
 
InterruptCapturingThread(ThreadGroup, Runnable) - Constructor for class com.google.code.tempusfugit.concurrency.InterruptCapturingThread
 
InterruptCapturingThread(String) - Constructor for class com.google.code.tempusfugit.concurrency.InterruptCapturingThread
 
InterruptCapturingThread(ThreadGroup, String) - Constructor for class com.google.code.tempusfugit.concurrency.InterruptCapturingThread
 
InterruptCapturingThread(Runnable, String) - Constructor for class com.google.code.tempusfugit.concurrency.InterruptCapturingThread
 
InterruptCapturingThread(ThreadGroup, Runnable, String) - Constructor for class com.google.code.tempusfugit.concurrency.InterruptCapturingThread
 
InterruptCapturingThread(ThreadGroup, Runnable, String, long) - Constructor for class com.google.code.tempusfugit.concurrency.InterruptCapturingThread
 
Interrupter - Class in com.google.code.tempusfugit.concurrency
 
Interruptible<T> - Interface in com.google.code.tempusfugit.concurrency
 
Introduce - Class in com.google.code.tempusfugit.temporal
Introduce "jitter" by sleeping a random amount.
Introduce() - Constructor for class com.google.code.tempusfugit.temporal.Introduce
 
is(Thread, Thread.State) - Static method in class com.google.code.tempusfugit.condition.Conditions
 
isAlive(Thread) - Static method in class com.google.code.tempusfugit.condition.Conditions
 
isSatisfied() - Method in class com.google.code.tempusfugit.condition.ExecutorShutdownCondition
 
isSatisfied() - Method in class com.google.code.tempusfugit.condition.MatcherCondition
 
isSatisfied() - Method in class com.google.code.tempusfugit.condition.NotCondition
 
isSatisfied() - Method in class com.google.code.tempusfugit.condition.SelfDescribingMatcherCondition
 
isSatisfied() - Method in class com.google.code.tempusfugit.condition.ThreadAliveCondition
 
isSatisfied() - Method in class com.google.code.tempusfugit.condition.ThreadStateCondition
 
isSatisfied() - Method in class com.google.code.tempusfugit.condition.ThreadWaitingCondition
 
isSatisfied() - Method in interface com.google.code.tempusfugit.temporal.Condition
 
isWaiting(Thread) - Static method in class com.google.code.tempusfugit.condition.Conditions
 

J

jitter() - Static method in class com.google.code.tempusfugit.temporal.Introduce
Sleep for between 0 and 5 milliseconds.
jitter(UpTo) - Static method in class com.google.code.tempusfugit.temporal.Introduce
Sleep for a random amount between 0 and given the parameter milliseconds.

L

lap() - Method in interface com.google.code.tempusfugit.temporal.StopWatch
mark a lap, this method can be invoked multiple times but should be called before making a call to the StopWatch.elapsedTime() method.
lap() - Method in class com.google.code.tempusfugit.temporal.ThreadLocalTimer
 
lap() - Method in class com.google.code.tempusfugit.temporal.Timer
 
lessThan(Duration) - Method in class com.google.code.tempusfugit.temporal.Duration
 

M

MatcherCondition<T> - Class in com.google.code.tempusfugit.condition
 
MatcherCondition(T, Matcher<T>) - Constructor for class com.google.code.tempusfugit.condition.MatcherCondition
 
millis(long) - Static method in class com.google.code.tempusfugit.temporal.Duration
 
millis(int) - Static method in class com.google.code.tempusfugit.temporal.UpTo
 
minus(Duration) - Method in class com.google.code.tempusfugit.temporal.Duration
 
minutes(long) - Static method in class com.google.code.tempusfugit.temporal.Duration
 
MovableClock - Class in com.google.code.tempusfugit.temporal
 
MovableClock() - Constructor for class com.google.code.tempusfugit.temporal.MovableClock
 
MovableClock(Date) - Constructor for class com.google.code.tempusfugit.temporal.MovableClock
 

N

newThread(Runnable) - Method in class com.google.code.tempusfugit.concurrency.DefaultThreadFactory
 
Not - Annotation Type in com.google.code.tempusfugit.concurrency.annotations
 
not(Condition) - Static method in class com.google.code.tempusfugit.condition.Conditions
 
NotCondition - Class in com.google.code.tempusfugit.condition
 
NotCondition(Condition) - Constructor for class com.google.code.tempusfugit.condition.NotCondition
 
now() - Method in interface com.google.code.tempusfugit.temporal.Clock
 
now() - Method in class com.google.code.tempusfugit.temporal.MovableClock
 
now() - Method in class com.google.code.tempusfugit.temporal.RealClock
 

P

plus(Duration) - Method in class com.google.code.tempusfugit.temporal.Duration
 
printDeadlocks(OutputStream) - Static method in class com.google.code.tempusfugit.concurrency.DeadlockDetector
Print deadlocks without deadlock stack traces.
printDeadlocks(OutputStream, int) - Static method in class com.google.code.tempusfugit.concurrency.DeadlockDetector
Print deadlocks with deadlock stack traces.
printStackTraceOfInterruptingThreads(PrintStream) - Method in class com.google.code.tempusfugit.concurrency.InterruptCapturingThread
 
probe(ProbeFor<T>, Matcher<T>) - Static method in class com.google.code.tempusfugit.condition.SelfDescribingMatcherCondition
 
ProbeFor<T> - Interface in com.google.code.tempusfugit.temporal
A lazy evaluation probe for specific value.

R

RealClock - Class in com.google.code.tempusfugit.temporal
 
RealClock() - Constructor for class com.google.code.tempusfugit.temporal.RealClock
 
Repeating - Annotation Type in com.google.code.tempusfugit.concurrency.annotations
Annotation to indicate that a method should be repeated.
RepeatingRule - Class in com.google.code.tempusfugit.concurrency
 
RepeatingRule() - Constructor for class com.google.code.tempusfugit.concurrency.RepeatingRule
 
reset() - Method in interface com.google.code.tempusfugit.temporal.StopWatch
start or reset the stop watch starting position.
reset() - Method in class com.google.code.tempusfugit.temporal.ThreadLocalTimer
 
reset() - Method in class com.google.code.tempusfugit.temporal.Timer
 
resetInterruptFlagWhen(Interruptible<T>) - Static method in class com.google.code.tempusfugit.concurrency.ThreadUtils
 
runChild(FrameworkMethod, RunNotifier) - Method in class com.google.code.tempusfugit.concurrency.IntermittentTestRunner
 
runnable(Callable) - Static method in class com.google.code.tempusfugit.concurrency.CallableAdapter
 

S

seconds(long) - Static method in class com.google.code.tempusfugit.temporal.Duration
 
SelfDescribingCondition - Interface in com.google.code.tempusfugit.temporal
 
SelfDescribingMatcherCondition<T> - Class in com.google.code.tempusfugit.condition
 
SelfDescribingMatcherCondition(Callable<T, RuntimeException>, Matcher<T>) - Constructor for class com.google.code.tempusfugit.condition.SelfDescribingMatcherCondition
 
setTime(Duration) - Method in class com.google.code.tempusfugit.temporal.MovableClock
 
shutdown(ExecutorService) - Static method in class com.google.code.tempusfugit.concurrency.ExecutorServiceShutdown
 
shutdown(ExecutorService) - Static method in class com.google.code.tempusfugit.condition.Conditions
 
SimulateJUnitFailure - Class in com.google.code.tempusfugit.temporal
 
sleep(Duration) - Static method in class com.google.code.tempusfugit.concurrency.ThreadUtils
 
sleep() - Method in interface com.google.code.tempusfugit.temporal.Sleeper
 
sleep() - Method in class com.google.code.tempusfugit.temporal.ThreadSleep
 
SLEEP_PERIOD - Static variable in class com.google.code.tempusfugit.temporal.WaitFor
 
Sleeper - Interface in com.google.code.tempusfugit.temporal
 
StopWatch - Interface in com.google.code.tempusfugit.temporal
Stop watch implementations should time the difference between construction (or a call to StopWatch.reset()) and a call to StopWatch.lap().
submit(List<? extends Callable<T>>) - Method in class com.google.code.tempusfugit.concurrency.DefaultTimeoutableCompletionService
 
submit(List<? extends Callable<T>>) - Method in interface com.google.code.tempusfugit.concurrency.TimeoutableCompletionService
 

T

Task - Annotation Type in com.google.code.tempusfugit.concurrency.annotations
Marker annotation to indicate that a class encapsulates some functionality as a "task" to be executed in a concurrent context.
ThreadAliveCondition - Class in com.google.code.tempusfugit.condition
 
ThreadAliveCondition(Thread) - Constructor for class com.google.code.tempusfugit.condition.ThreadAliveCondition
 
ThreadDump - Class in com.google.code.tempusfugit.concurrency
 
ThreadDump() - Constructor for class com.google.code.tempusfugit.concurrency.ThreadDump
 
ThreadLocalTimer - Class in com.google.code.tempusfugit.temporal
The ThreadLocal based stop watch is safe to use with multiple threads as it will time each thread's call between ThreadLocalTimer.reset() (or construction) and ThreadLocalTimer.lap().
ThreadLocalTimer(Clock) - Constructor for class com.google.code.tempusfugit.temporal.ThreadLocalTimer
 
ThreadSafe - Annotation Type in com.google.code.tempusfugit.concurrency.annotations
Based on the annotation of the same name by Brian Goetz and Tim Tim Peierls.
ThreadSleep - Class in com.google.code.tempusfugit.temporal
 
ThreadSleep(Duration) - Constructor for class com.google.code.tempusfugit.temporal.ThreadSleep
 
ThreadStateCondition - Class in com.google.code.tempusfugit.condition
 
ThreadStateCondition(Thread, Thread.State) - Constructor for class com.google.code.tempusfugit.condition.ThreadStateCondition
 
ThreadUtils - Class in com.google.code.tempusfugit.concurrency
 
ThreadUtils() - Constructor for class com.google.code.tempusfugit.concurrency.ThreadUtils
 
ThreadWaitingCondition - Class in com.google.code.tempusfugit.condition
 
ThreadWaitingCondition(Thread) - Constructor for class com.google.code.tempusfugit.condition.ThreadWaitingCondition
 
throwAsRuntimeException(Exception) - Static method in class com.google.code.tempusfugit.ExceptionWrapper
 
throwException(Exception, WithException<E>) - Static method in class com.google.code.tempusfugit.ExceptionWrapper
 
time(Runnable) - Static method in class com.google.code.tempusfugit.temporal.Timer
 
Timeout - Class in com.google.code.tempusfugit.temporal
A class to represent a timeout.
timeout(Duration) - Static method in class com.google.code.tempusfugit.temporal.Timeout
 
timeout(Duration, StopWatch) - Static method in class com.google.code.tempusfugit.temporal.Timeout
 
TimeoutableCompletionService - Interface in com.google.code.tempusfugit.concurrency
 
TimeoutExceptionWithResults - Exception in com.google.code.tempusfugit.concurrency
 
TimeoutExceptionWithResults(String) - Constructor for exception com.google.code.tempusfugit.concurrency.TimeoutExceptionWithResults
 
TimeoutExceptionWithResults(String, List<T>) - Constructor for exception com.google.code.tempusfugit.concurrency.TimeoutExceptionWithResults
 
TimeoutExceptionWithResults(List<T>) - Constructor for exception com.google.code.tempusfugit.concurrency.TimeoutExceptionWithResults
 
Timer - Class in com.google.code.tempusfugit.temporal
 
Timer(Clock) - Constructor for class com.google.code.tempusfugit.temporal.Timer
Constructs and starts a stop watch.
today() - Static method in class com.google.code.tempusfugit.temporal.RealClock
 
toString() - Method in class com.google.code.tempusfugit.concurrency.Deadlocks
 
toString() - Method in class com.google.code.tempusfugit.temporal.Duration
 

U

UpTo - Class in com.google.code.tempusfugit.temporal
Get a random Duration up to a specified amount.
upTo(Duration) - Static method in class com.google.code.tempusfugit.temporal.UpTo
 
using(Lock) - Method in class com.google.code.tempusfugit.concurrency.ExecuteUsingLock
 

V

valueOf(String) - Static method in enum com.google.code.tempusfugit.concurrency.annotations.GuardedBy.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.code.tempusfugit.concurrency.annotations.GuardedBy.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

WaitFor - Class in com.google.code.tempusfugit.temporal
 
waitFor(SelfDescribingCondition, Timeout) - Static method in class com.google.code.tempusfugit.temporal.WaitFor
 
waitingForCompletion(Duration) - Method in class com.google.code.tempusfugit.concurrency.ExecutorServiceShutdown
 
waitingForShutdown(Timeout) - Method in class com.google.code.tempusfugit.concurrency.ExecutorServiceShutdown
 
waitOrTimeout(Condition, Timeout) - Static method in class com.google.code.tempusfugit.temporal.WaitFor
 
waitOrTimeout(Condition, Timeout, Sleeper) - Static method in class com.google.code.tempusfugit.temporal.WaitFor
 
waitOrTimeout(Condition, Callable<T, E>, Timeout) - Static method in class com.google.code.tempusfugit.temporal.WaitFor
 
waitUntil(Timeout) - Static method in class com.google.code.tempusfugit.temporal.WaitFor
 
with(Duration) - Method in class com.google.code.tempusfugit.concurrency.CountDownLatchWithTimeout
 
with(Class<E>) - Static method in class com.google.code.tempusfugit.WithException
 
WithException<E extends Exception> - Class in com.google.code.tempusfugit
 
wrapAnyException(Callable<V>, WithException<E>) - Static method in class com.google.code.tempusfugit.ExceptionWrapper
 
wrapAsRuntimeException(Callable<V>) - Static method in class com.google.code.tempusfugit.ExceptionWrapper
 
write(int) - Method in class com.google.code.tempusfugit.concurrency.Deadlocks
 
A C D E F G H I J L M N P R S T U V W 
Skip navigation links

Copyright © 2009–2019 tempus-fugit committers. All rights reserved.