@InterfaceAudience.Private @InterfaceStability.Evolving public class ProcedureResult extends Object
| Constructor and Description |
|---|
ProcedureResult(long startTime,
long lastUpdate,
byte[] result) |
ProcedureResult(long startTime,
long lastUpdate,
RemoteProcedureException exception) |
| Modifier and Type | Method and Description |
|---|---|
long |
executionTime() |
long |
getClientAckTime() |
RemoteProcedureException |
getException() |
long |
getLastUpdate() |
byte[] |
getResult() |
long |
getStartTime() |
boolean |
hasClientAckTime() |
boolean |
hasResultData() |
boolean |
isFailed() |
protected void |
setClientAckTime(long timestamp) |
public ProcedureResult(long startTime,
long lastUpdate,
RemoteProcedureException exception)
public ProcedureResult(long startTime,
long lastUpdate,
byte[] result)
public boolean isFailed()
public RemoteProcedureException getException()
public boolean hasResultData()
public byte[] getResult()
public long getStartTime()
public long getLastUpdate()
public long executionTime()
public boolean hasClientAckTime()
public long getClientAckTime()
@InterfaceAudience.Private protected void setClientAckTime(long timestamp)
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.