com.taosdata.jdbc.utils

## 类 CompletableFutureTimeout

- java.lang.Object
- - com.taosdata.jdbc.utils.CompletableFutureTimeout

    public class CompletableFutureTimeout
    extends Object

### 方法概要

所有方法 静态方法 具体方法
`static <T> CompletableFuture<T>` `orTimeout(CompletableFuture<T> future, long timeout, TimeUnit unit, String msg)`
`static <T> CompletableFuture<T>` `orTimeout(T t, CompletableFuture<T> future, long timeout, TimeUnit unit, String msg)`

### 从类继承的方法 java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### 方法详细资料

#### orTimeout

    public static <T> CompletableFuture<T> orTimeout(CompletableFuture<T> future,
                                                     long timeout,
                                                     TimeUnit unit,
                                                     String msg)

#### orTimeout

    public static <T> CompletableFuture<T> orTimeout(T t,
                                                     CompletableFuture<T> future,
                                                     long timeout,
                                                     TimeUnit unit,
                                                     String msg)