public class ThreadSingleProvider<T> extends Object implements Provider<T>
Supplier
ThreadSingleProvider(Callable<T> callable)
ThreadSingleProvider(Provider<T> provider)
ThreadSingleProvider(Supplier<T> supplier)
ThreadSingleProvider(T instance)
T
call()
String
toString()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
asLoader, asLoader, asSingle, asThread, asThread, get, of, of, of, toLoader, toLoader, toSingle, toSingle, toThread, toThread, wrap
public ThreadSingleProvider(T instance)
public ThreadSingleProvider(Provider<T> provider)
public ThreadSingleProvider(Supplier<T> supplier)
public ThreadSingleProvider(Callable<T> callable)
public T call() throws Exception
Provider
call
Callable<T>
Provider<T>
Exception
public String toString()
toString
Object
Copyright © 2022–2023. All rights reserved.