Class FileSystemModuleLoader.TryOnce<T>
- java.lang.Object
-
- net.thisptr.jackson.jq.module.loaders.FileSystemModuleLoader.TryOnce<T>
-
- Enclosing class:
- FileSystemModuleLoader
private static final class FileSystemModuleLoader.TryOnce<T> extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
FileSystemModuleLoader.TryOnce.RecursiveInvocationException
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.CompletableFuture<T>
f
private boolean
taskStarted
private java.lang.Thread
taskThread
-
Constructor Summary
Constructors Constructor Description TryOnce()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
tryOnce(java.util.concurrent.Callable<T> task)
-
-
-
Field Detail
-
f
private final java.util.concurrent.CompletableFuture<T> f
-
taskThread
private final java.lang.Thread taskThread
-
taskStarted
private boolean taskStarted
-
-
Method Detail
-
tryOnce
public T tryOnce(java.util.concurrent.Callable<T> task) throws java.util.concurrent.CompletionException, FileSystemModuleLoader.TryOnce.RecursiveInvocationException
- Throws:
java.util.concurrent.CompletionException
FileSystemModuleLoader.TryOnce.RecursiveInvocationException
-
-