public class Result extends Object
LogProducer.send(java.lang.String, java.lang.String, com.aliyun.openservices.log.common.LogItem) operation. A list of Attempts is provided with
details about each attempt made.Attempt| 限定符和类型 | 方法和说明 |
|---|---|
int |
getAttemptCount() |
String |
getErrorCode() |
String |
getErrorMessage() |
List<Attempt> |
getReservedAttempts() |
boolean |
isSuccessful() |
String |
toString() |
public boolean isSuccessful()
public List<Attempt> getReservedAttempts()
Attempts, in the order they were made. If the attempts exceed ProducerConfig.getMaxReservedAttempts(), the oldest one will be removed.public int getAttemptCount()
public String getErrorCode()
public String getErrorMessage()
Copyright © 2019. All rights reserved.