public class LeaderElectionRecord extends Object
| Constructor and Description |
|---|
LeaderElectionRecord(String holderIdentity,
Duration leaseDuration,
ZonedDateTime acquireTime,
ZonedDateTime renewTime,
int leaderTransitions) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ZonedDateTime |
getAcquireTime() |
String |
getHolderIdentity() |
int |
getLeaderTransitions() |
Duration |
getLeaseDuration() |
ZonedDateTime |
getRenewTime() |
int |
hashCode() |
public LeaderElectionRecord(String holderIdentity, Duration leaseDuration, ZonedDateTime acquireTime, ZonedDateTime renewTime, int leaderTransitions)
public String getHolderIdentity()
public Duration getLeaseDuration()
public ZonedDateTime getAcquireTime()
public ZonedDateTime getRenewTime()
public int getLeaderTransitions()
Copyright © 2015–2024 Red Hat. All rights reserved.