public class BrokerAdditionStateRecord extends Object
Constructor and Description |
---|
BrokerAdditionStateRecord(int brokerId,
BrokerAdditionV2StateMachine.BrokerAdditionV2State state,
Exception exception,
long startTimeMs,
long lastUpdateTimeMs) |
Modifier and Type | Method and Description |
---|---|
int |
brokerId() |
boolean |
equals(Object o) |
Exception |
exception() |
int |
hashCode() |
long |
lastUpdateTimeMs() |
long |
startTimeMs() |
BrokerAdditionV2StateMachine.BrokerAdditionV2State |
state() |
kafka.common.BrokerAdditionDescriptionInternal |
toBrokerAdditionDescriptionInternal() |
String |
toString() |
public BrokerAdditionStateRecord(int brokerId, BrokerAdditionV2StateMachine.BrokerAdditionV2State state, Exception exception, long startTimeMs, long lastUpdateTimeMs)
brokerId
- - the broker ID being added.state
- - the latest state of the broker addition operation for this broker.exception
- - nullable, the exception that caused the operation to enter this state.startTimeMs
- - the unix timestamp at which the broker addition operation was started.lastUpdateTimeMs
- - the unix timestamp at which the broker addition operation was last updated.public int brokerId()
public BrokerAdditionV2StateMachine.BrokerAdditionV2State state()
public long startTimeMs()
public long lastUpdateTimeMs()
public Exception exception()
public kafka.common.BrokerAdditionDescriptionInternal toBrokerAdditionDescriptionInternal()