Package se.michaelthelin.spotify
Class SpotifyApiThreading
- java.lang.Object
-
- se.michaelthelin.spotify.SpotifyApiThreading
-
public class SpotifyApiThreading extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static ExecutorServiceTHREADPOOL
-
Constructor Summary
Constructors Constructor Description SpotifyApiThreading()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> CompletableFuture<T>executeAsync(Callable<T> callable)
-
-
-
Field Detail
-
THREADPOOL
public static final ExecutorService THREADPOOL
-
-
Method Detail
-
executeAsync
public static <T> CompletableFuture<T> executeAsync(Callable<T> callable)
-
-