Interface Future<V>
-
- All Known Subinterfaces:
ListenableFuture<V>
- All Known Implementing Classes:
ListenableFutureTask
public interface Future<V>
Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
cancel(boolean mayInterruptIfRunning)
V
get()
V
get(long timeout, java.util.concurrent.TimeUnit unit)
boolean
isCancelled()
boolean
isDone()
-
-
-
Method Detail
-
cancel
boolean cancel(boolean mayInterruptIfRunning)
-
isCancelled
boolean isCancelled()
-
isDone
boolean isDone()
-
get
V get() throws java.lang.InterruptedException, ExecutionException
- Throws:
java.lang.InterruptedException
ExecutionException
-
get
V get(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException, ExecutionException
- Throws:
java.lang.InterruptedException
ExecutionException
-
-