@InterfaceAudience.Public @InterfaceStability.Unstable public abstract class ApplicationTimeout extends Object
ApplicationTimeout
is a report for configured application timeouts.
It includes details such as:
ApplicationTimeoutType
of the timeout type.Constructor and Description |
---|
ApplicationTimeout() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getExpiryTime()
Get
expiryTime for given timeout type. |
abstract long |
getRemainingTime()
Get
Remaining Time of an application for given timeout type. |
abstract ApplicationTimeoutType |
getTimeoutType()
Get the application timeout type.
|
static ApplicationTimeout |
newInstance(ApplicationTimeoutType type,
String expiryTime,
long remainingTime) |
abstract void |
setExpiryTime(String expiryTime)
Set
expiryTime for given timeout type. |
abstract void |
setRemainingTime(long remainingTime)
Set
Remaining Time of an application for given timeout type. |
abstract void |
setTimeoutType(ApplicationTimeoutType timeoutType)
Set the application timeout type.
|
@InterfaceAudience.Public @InterfaceStability.Unstable public static ApplicationTimeout newInstance(ApplicationTimeoutType type, String expiryTime, long remainingTime)
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract ApplicationTimeoutType getTimeoutType()
@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setTimeoutType(ApplicationTimeoutType timeoutType)
timeoutType
- of an application timeout.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract String getExpiryTime()
expiryTime
for given timeout type.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setExpiryTime(String expiryTime)
expiryTime
for given timeout type.expiryTime
- in ISO8601 standard with format
yyyy-MM-dd'T'HH:mm:ss.SSSZ.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract long getRemainingTime()
Remaining Time
of an application for given timeout type.@InterfaceAudience.Public @InterfaceStability.Unstable public abstract void setRemainingTime(long remainingTime)
Remaining Time
of an application for given timeout type.remainingTime
- in seconds.Copyright © 2022 Apache Software Foundation. All rights reserved.