public class TimeOutObject<T>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
TimeOutObject.Callback<T> |
Constructor and Description |
---|
TimeOutObject() |
Modifier and Type | Method and Description |
---|---|
TimeOutObject |
setCallback(TimeOutObject.Callback<T> callback) |
TimeOutObject |
setTimeOut(int timeoutMilliseconds,
T object) |
public TimeOutObject setCallback(TimeOutObject.Callback<T> callback)
public TimeOutObject setTimeOut(int timeoutMilliseconds, T object)