Futures.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Failures | |
| private static final Futures |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Exception | |
| public Exception | |
| public void | assertIsCancelled(AssertionInfo
contains information about the assertion. info, Future<?> the "actual" actual)Date.Verifies that the |
| public void | assertIsDone(AssertionInfo
contains information about the assertion. info, Future<?> the "actual" actual)Date.Verifies that the |
| public void | assertIsNotCancelled(AssertionInfo
contains information about the assertion. info, Future<?> the "actual" actual)Date.Verifies that the |
| public void | assertIsNotDone(AssertionInfo
contains information about the assertion. info, Future<?> the "actual" actual)Date.Verifies that the |
| private void | |
| public <RESULT> RESULT | |
| public <RESULT> RESULT | |
| public static Futures | Returns: the singleton instance of this class.Returns the singleton instance of this class. |
| failures | back to summary |
|---|---|
| pack-priv Failures failures
| |
| INSTANCE | back to summary |
|---|---|
| private static final Futures INSTANCE | |
| Futures | back to summary |
|---|---|
| public Futures() | |
| assertFailedWithin | back to summary |
|---|---|
| public Exception assertFailedWithin(AssertionInfo info, Future<?> actual, Duration timeout) | |
| assertFailedWithin | back to summary |
|---|---|
| public Exception assertFailedWithin(AssertionInfo info, Future<?> actual, long timeout, TimeUnit unit) | |
| assertIsCancelled | back to summary |
|---|---|
| public void assertIsCancelled(AssertionInfo info, Future<?> actual) Verifies that the
| |
| assertIsDone | back to summary |
|---|---|
| public void assertIsDone(AssertionInfo info, Future<?> actual) Verifies that the
| |
| assertIsNotCancelled | back to summary |
|---|---|
| public void assertIsNotCancelled(AssertionInfo info, Future<?> actual) Verifies that the
| |
| assertIsNotDone | back to summary |
|---|---|
| public void assertIsNotDone(AssertionInfo info, Future<?> actual) Verifies that the
| |
| assertNotNull | back to summary |
|---|---|
| private void assertNotNull(AssertionInfo info, Future<?> actual) | |
| assertSucceededWithin | back to summary |
|---|---|
| public <RESULT> RESULT assertSucceededWithin(AssertionInfo info, Future<RESULT> actual, long timeout, TimeUnit unit) | |
| assertSucceededWithin | back to summary |
|---|---|
| public <RESULT> RESULT assertSucceededWithin(AssertionInfo info, Future<RESULT> actual, Duration timeout) | |
| instance | back to summary |
|---|---|
| public static Futures instance() Returns the singleton instance of this class.
| |