Package com.databricks.sdk.support
Class Wait<T,R>
- java.lang.Object
-
- com.databricks.sdk.support.Wait<T,R>
-
public class Wait<T,R> extends Object
-
-
Constructor Summary
Constructors Constructor Description Wait(WaitStarter<T> impl)
Wait(WaitStarter<T> impl, R response)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
get()
T
get(Duration timeout)
R
getResponse()
Wait<T,R>
onProgress(Consumer<T> progress)
-
-
-
Constructor Detail
-
Wait
public Wait(WaitStarter<T> impl)
-
Wait
public Wait(WaitStarter<T> impl, R response)
-
-
Method Detail
-
get
public T get() throws TimeoutException
- Throws:
TimeoutException
-
get
public T get(Duration timeout) throws TimeoutException
- Throws:
TimeoutException
-
getResponse
public R getResponse()
-
-