@InterfaceAudience.Public public class TimeoutException extends Exception
TimeoutExceptionInjector,
序列化表格| 构造器和说明 |
|---|
TimeoutException(String sourceName,
long start,
long end,
long expected)
Exception indicating that an operation attempt has timed out
|
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getEnd() |
long |
getMaxAllowedOperationTime() |
String |
getSourceName() |
long |
getStart() |
public TimeoutException(String sourceName, long start, long end, long expected)
start - time the operation started (ms since epoch)end - time the timeout was triggered (ms since epoch)expected - expected amount of time for the operation to complete (ms)
(ideally, expected <= end-start)public long getStart()
public long getEnd()
public long getMaxAllowedOperationTime()
public String getSourceName()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.