public class LeaderElectionRecord extends Object
Constructor and Description |
---|
LeaderElectionRecord() |
LeaderElectionRecord(String holderIdentity,
int leaseDurationSeconds,
Date acquireTime,
Date renewTime,
int leaderTransitions) |
LeaderElectionRecord(String holderIdentity,
int leaseDurationSeconds,
Date acquireTime,
Date renewTime,
int leaderTransitions,
io.kubernetes.client.openapi.models.V1OwnerReference ownerReference) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Date |
getAcquireTime() |
String |
getHolderIdentity() |
int |
getLeaderTransitions() |
int |
getLeaseDurationSeconds() |
io.kubernetes.client.openapi.models.V1OwnerReference |
getOwnerReference() |
Date |
getRenewTime() |
void |
setAcquireTime(Date acquireTime) |
void |
setHolderIdentity(String holderIdentity) |
void |
setLeaderTransitions(int leaderTransitions) |
void |
setLeaseDurationSeconds(int leaseDurationSeconds) |
void |
setOwnerReference(io.kubernetes.client.openapi.models.V1OwnerReference ownerReference) |
void |
setRenewTime(Date renewTime) |
public LeaderElectionRecord()
public LeaderElectionRecord(String holderIdentity, int leaseDurationSeconds, Date acquireTime, Date renewTime, int leaderTransitions)
public String getHolderIdentity()
public void setHolderIdentity(String holderIdentity)
public int getLeaseDurationSeconds()
public void setLeaseDurationSeconds(int leaseDurationSeconds)
public Date getAcquireTime()
public void setAcquireTime(Date acquireTime)
public Date getRenewTime()
public void setRenewTime(Date renewTime)
public int getLeaderTransitions()
public void setLeaderTransitions(int leaderTransitions)
public io.kubernetes.client.openapi.models.V1OwnerReference getOwnerReference()
public void setOwnerReference(io.kubernetes.client.openapi.models.V1OwnerReference ownerReference)
Copyright © 2021. All rights reserved.