Package org.apache.camel.component.kafka
Class TaskHealthState
- java.lang.Object
-
- org.apache.camel.component.kafka.TaskHealthState
-
public class TaskHealthState extends Object
-
-
Constructor Summary
Constructors Constructor Description TaskHealthState(boolean ready, boolean isTerminated, boolean isRecoverable, Exception lastError, String clientId, long currentBackoffInterval, Properties clientProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbuildStateMessage()StringgetBootstrapServers()StringgetClientId()longgetCurrentBackoffInterval()StringgetGroupId()ExceptiongetLastError()booleanisReady()booleanisRecoverable()booleanisTerminated()
-
-
-
Constructor Detail
-
TaskHealthState
public TaskHealthState(boolean ready, boolean isTerminated, boolean isRecoverable, Exception lastError, String clientId, long currentBackoffInterval, Properties clientProperties)
-
-
Method Detail
-
isReady
public boolean isReady()
-
isTerminated
public boolean isTerminated()
-
isRecoverable
public boolean isRecoverable()
-
getLastError
public Exception getLastError()
-
getClientId
public String getClientId()
-
getCurrentBackoffInterval
public long getCurrentBackoffInterval()
-
getBootstrapServers
public String getBootstrapServers()
-
getGroupId
public String getGroupId()
-
buildStateMessage
public String buildStateMessage()
-
-