类 Communication
- java.lang.Object
-
- risesoft.data.transfer.core.statistics.Communication
-
-
构造器概要
构造器 构造器 说明 Communication()
-
方法概要
-
-
-
方法详细资料
-
reset
public void reset()
-
getStartTime
public long getStartTime()
-
setStartTime
public void setStartTime(long startTime)
-
getEndTime
public long getEndTime()
-
getState
public State getState()
-
setState
public void setState(State state, boolean isForce)
-
setState
public void setState(State state)
-
getThrowable
public Throwable getThrowable()
-
getThrowableMessage
public String getThrowableMessage()
-
setThrowable
public void setThrowable(Throwable throwable)
-
setThrowable
public void setThrowable(Throwable throwable, boolean isForce)
-
getTimestamp
public long getTimestamp()
-
setTimestamp
public void setTimestamp(long timestamp)
-
setLongCounter
public void setLongCounter(String key, long value)
-
setDoubleCounter
public void setDoubleCounter(String key, double value)
-
increaseCounter
public void increaseCounter(String key, long deltaValue)
-
clone
public Communication clone()
-
mergeFrom
public Communication mergeFrom(Communication otherComm)
-
mergeStateFrom
public State mergeStateFrom(Communication otherComm)
合并state,优先级: (Failed | Killed) > Running > Success 这里不会出现 Killing 状态,killing 状态只在 Job 自身状态上才有.
-
isFinished
public boolean isFinished()
-
-