@Validated public class PollerDetail extends Object
| Constructor and Description |
|---|
PollerDetail() |
| Modifier and Type | Method and Description |
|---|---|
PollerDetail |
addNoAuPeersItem(String noAuPeersItem) |
PollerDetail |
addVotedPeersItem(PeerData votedPeersItem) |
PollerDetail |
createTime(Long createTime) |
PollerDetail |
deadline(Long deadline) |
PollerDetail |
duration(Long duration) |
boolean |
equals(Object o) |
PollerDetail |
errorDetails(String errorDetails) |
Long |
getCreateTime()
The timestamp at which the poll was created.
|
Long |
getDeadline()
The time by which the poll must have completed
|
Long |
getDuration()
The estimated duration for the poll.
|
String |
getErrorDetails()
The error which caused the poll to fail.
|
String |
getHashAlgorithm()
The algorithm used by the hasher for this poll.
|
List<String> |
getNoAuPeers()
The peers who do not have the au.
|
Integer |
getOuterCircleTarget()
The number of peers from the poller outer circle to taget.
|
org.lockss.util.rest.poller.PollDesc |
getPollDesc()
Get pollDesc
|
Long |
getPollEnd()
the time at which the poll ended or -1 if still running.
|
String |
getPollerId()
The id of the poller who called the poll
|
String |
getPollKey()
Key generated by poll manager when poll is created.
|
Integer |
getQuorum()
The minimum required for a quroum
|
RepairQueue |
getRepairQueue()
Get repairQueue
|
String |
getStatus()
The current status of the poll.
|
TallyData |
getTally()
Get tally
|
Long |
getVoteDeadline()
The time by which all voters must have voted.
|
List<PeerData> |
getVotedPeers()
The data from peers whom voted.
|
Long |
getVoteDuration()
The estimated duration for voters.
|
Integer |
getVoteMargin()
The required agreement need to decide landslide agreement or disagreement.
|
PollerDetail |
hashAlgorithm(String hashAlgorithm) |
int |
hashCode() |
PollerDetail |
noAuPeers(List<String> noAuPeers) |
PollerDetail |
outerCircleTarget(Integer outerCircleTarget) |
PollerDetail |
pollDesc(org.lockss.util.rest.poller.PollDesc pollDesc) |
PollerDetail |
pollEnd(Long pollEnd) |
PollerDetail |
pollerId(String pollerId) |
PollerDetail |
pollKey(String pollKey) |
PollerDetail |
quorum(Integer quorum) |
PollerDetail |
repairQueue(RepairQueue repairQueue) |
void |
setCreateTime(Long createTime) |
void |
setDeadline(Long deadline) |
void |
setDuration(Long duration) |
void |
setErrorDetails(String errorDetails) |
void |
setHashAlgorithm(String hashAlgorithm) |
void |
setNoAuPeers(List<String> noAuPeers) |
void |
setOuterCircleTarget(Integer outerCircleTarget) |
void |
setPollDesc(org.lockss.util.rest.poller.PollDesc pollDesc) |
void |
setPollEnd(Long pollEnd) |
void |
setPollerId(String pollerId) |
void |
setPollKey(String pollKey) |
void |
setQuorum(Integer quorum) |
void |
setRepairQueue(RepairQueue repairQueue) |
void |
setStatus(String status) |
void |
setTally(TallyData tally) |
void |
setVoteDeadline(Long voteDeadline) |
void |
setVotedPeers(List<PeerData> votedPeers) |
void |
setVoteDuration(Long voteDuration) |
void |
setVoteMargin(Integer voteMargin) |
PollerDetail |
status(String status) |
PollerDetail |
tally(TallyData tally) |
String |
toString() |
PollerDetail |
voteDeadline(Long voteDeadline) |
PollerDetail |
votedPeers(List<PeerData> votedPeers) |
PollerDetail |
voteDuration(Long voteDuration) |
PollerDetail |
voteMargin(Integer voteMargin) |
public PollerDetail pollDesc(org.lockss.util.rest.poller.PollDesc pollDesc)
@NotNull public org.lockss.util.rest.poller.PollDesc getPollDesc()
public void setPollDesc(org.lockss.util.rest.poller.PollDesc pollDesc)
public PollerDetail pollerId(String pollerId)
@NotNull public String getPollerId()
public void setPollerId(String pollerId)
public PollerDetail status(String status)
@NotNull public String getStatus()
public void setStatus(String status)
public PollerDetail pollKey(String pollKey)
public String getPollKey()
public void setPollKey(String pollKey)
public PollerDetail createTime(Long createTime)
public Long getCreateTime()
public void setCreateTime(Long createTime)
public PollerDetail duration(Long duration)
public Long getDuration()
public void setDuration(Long duration)
public PollerDetail deadline(Long deadline)
public Long getDeadline()
public void setDeadline(Long deadline)
public PollerDetail outerCircleTarget(Integer outerCircleTarget)
public Integer getOuterCircleTarget()
public void setOuterCircleTarget(Integer outerCircleTarget)
public PollerDetail hashAlgorithm(String hashAlgorithm)
public String getHashAlgorithm()
public void setHashAlgorithm(String hashAlgorithm)
public PollerDetail voteMargin(Integer voteMargin)
public Integer getVoteMargin()
public void setVoteMargin(Integer voteMargin)
public PollerDetail voteDeadline(Long voteDeadline)
public Long getVoteDeadline()
public void setVoteDeadline(Long voteDeadline)
public PollerDetail voteDuration(Long voteDuration)
public Long getVoteDuration()
public void setVoteDuration(Long voteDuration)
public PollerDetail pollEnd(Long pollEnd)
public Long getPollEnd()
public void setPollEnd(Long pollEnd)
public PollerDetail quorum(Integer quorum)
public Integer getQuorum()
public void setQuorum(Integer quorum)
public PollerDetail errorDetails(String errorDetails)
public String getErrorDetails()
public void setErrorDetails(String errorDetails)
public PollerDetail votedPeers(List<PeerData> votedPeers)
public PollerDetail addVotedPeersItem(PeerData votedPeersItem)
public List<PeerData> getVotedPeers()
public PollerDetail noAuPeers(List<String> noAuPeers)
public PollerDetail addNoAuPeersItem(String noAuPeersItem)
public List<String> getNoAuPeers()
public PollerDetail tally(TallyData tally)
public TallyData getTally()
public void setTally(TallyData tally)
public PollerDetail repairQueue(RepairQueue repairQueue)
public RepairQueue getRepairQueue()
public void setRepairQueue(RepairQueue repairQueue)
Copyright © 2000–2021 LOCKSS Program. All rights reserved.