@Validated public class PeerData extends Object
| Constructor and Description |
|---|
PeerData() |
| Modifier and Type | Method and Description |
|---|---|
PeerData |
agreeLink(LinkDesc agreeLink) |
PeerData |
agreement(Float agreement) |
PeerData |
bytesHashed(Long bytesHashed) |
PeerData |
bytesRead(Long bytesRead) |
PeerData |
disagreeLink(LinkDesc disagreeLink) |
boolean |
equals(Object o) |
LinkDesc |
getAgreeLink()
A link to the agree votes urls.
|
Float |
getAgreement()
the percentage of vote agreement.
|
Long |
getBytesHashed()
the number of bytes hashed.
|
Long |
getBytesRead()
the number of bytes read.
|
LinkDesc |
getDisagreeLink()
A link to the disagree vote urls.
|
Long |
getLastStateChange()
the time of last state change.
|
Long |
getNumAgree()
The number of urls for which there was agreement.
|
Long |
getNumDisagree()
The number of urls for which there was disagreement.
|
Long |
getNumPollerOnly()
The number of urls which were poller only.
|
Long |
getNumVoterOnly()
The number of urls for which were voter only.
|
String |
getPeerId()
the peer id for this participant
|
LinkDesc |
getPollerOnlyLink()
A link to the poller only urls.
|
String |
getState()
the state machine state.
|
String |
getStatus()
the status of this peer
|
LinkDesc |
getVoterOnlyLink()
A link to the poller only urls.
|
Float |
getWtAgreement()
the weight of vote percentage agreement.
|
Float |
getWtNumAgree()
the weight of number agree votes.
|
Float |
getWtNumDisagree()
the weight of number of disagree votes.
|
Float |
getWtNumPollerOnly()
the weight of number of poller only votes.
|
Float |
getWtNumVoterOnly()
the weight of number of voter only votes.
|
int |
hashCode() |
PeerData |
lastStateChange(Long lastStateChange) |
PeerData |
numAgree(Long numAgree) |
PeerData |
numDisagree(Long numDisagree) |
PeerData |
numPollerOnly(Long numPollerOnly) |
PeerData |
numVoterOnly(Long numVoterOnly) |
PeerData |
peerId(String peerId) |
PeerData |
pollerOnlyLink(LinkDesc pollerOnlyLink) |
void |
setAgreeLink(LinkDesc agreeLink) |
void |
setAgreement(Float agreement) |
void |
setBytesHashed(Long bytesHashed) |
void |
setBytesRead(Long bytesRead) |
void |
setDisagreeLink(LinkDesc disagreeLink) |
void |
setLastStateChange(Long lastStateChange) |
void |
setNumAgree(Long numAgree) |
void |
setNumDisagree(Long numDisagree) |
void |
setNumPollerOnly(Long numPollerOnly) |
void |
setNumVoterOnly(Long numVoterOnly) |
void |
setPeerId(String peerId) |
void |
setPollerOnlyLink(LinkDesc pollerOnlyLink) |
void |
setState(String state) |
void |
setStatus(String status) |
void |
setVoterOnlyLink(LinkDesc voterOnlyLink) |
void |
setWtAgreement(Float wtAgreement) |
void |
setWtNumAgree(Float wtNumAgree) |
void |
setWtNumDisagree(Float wtNumDisagree) |
void |
setWtNumPollerOnly(Float wtNumPollerOnly) |
void |
setWtNumVoterOnly(Float wtNumVoterOnly) |
PeerData |
state(String state) |
PeerData |
status(String status) |
String |
toString() |
PeerData |
voterOnlyLink(LinkDesc voterOnlyLink) |
PeerData |
wtAgreement(Float wtAgreement) |
PeerData |
wtNumAgree(Float wtNumAgree) |
PeerData |
wtNumDisagree(Float wtNumDisagree) |
PeerData |
wtNumPollerOnly(Float wtNumPollerOnly) |
PeerData |
wtNumVoterOnly(Float wtNumVoterOnly) |
@NotNull public String getPeerId()
public void setPeerId(String peerId)
@NotNull public String getStatus()
public void setStatus(String status)
public Float getAgreement()
public void setAgreement(Float agreement)
public Long getNumAgree()
public void setNumAgree(Long numAgree)
public LinkDesc getAgreeLink()
public void setAgreeLink(LinkDesc agreeLink)
public Long getNumDisagree()
public void setNumDisagree(Long numDisagree)
public LinkDesc getDisagreeLink()
public void setDisagreeLink(LinkDesc disagreeLink)
public Long getNumPollerOnly()
public void setNumPollerOnly(Long numPollerOnly)
public LinkDesc getPollerOnlyLink()
public void setPollerOnlyLink(LinkDesc pollerOnlyLink)
public Long getNumVoterOnly()
public void setNumVoterOnly(Long numVoterOnly)
public LinkDesc getVoterOnlyLink()
public void setVoterOnlyLink(LinkDesc voterOnlyLink)
public Long getBytesHashed()
public void setBytesHashed(Long bytesHashed)
public Long getBytesRead()
public void setBytesRead(Long bytesRead)
public Float getWtAgreement()
public void setWtAgreement(Float wtAgreement)
public Float getWtNumAgree()
public void setWtNumAgree(Float wtNumAgree)
public Float getWtNumDisagree()
public void setWtNumDisagree(Float wtNumDisagree)
public Float getWtNumPollerOnly()
public void setWtNumPollerOnly(Float wtNumPollerOnly)
public Float getWtNumVoterOnly()
public void setWtNumVoterOnly(Float wtNumVoterOnly)
public String getState()
public void setState(String state)
public Long getLastStateChange()
public void setLastStateChange(Long lastStateChange)
Copyright © 2000–2023 LOCKSS Program. All rights reserved.