Package com.saperion.connector.options
Class TimeOut
- java.lang.Object
-
- com.saperion.connector.options.TimeOut
-
public class TimeOut extends java.lang.Object
Represents a timeout for an operation.
-
-
Constructor Summary
Constructors Constructor Description TimeOut(long timeOut, java.util.concurrent.TimeUnit unit)
Instantiates a new timeout.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getTimeOut()
Gets the timeout.java.util.concurrent.TimeUnit
getTimeUnit()
Gets the time unit.java.lang.String
toString()
-