Package org.lockss.laaws.poller.model
Class PollerSummary
java.lang.Object
org.lockss.laaws.poller.model.PollerSummary
A summary of a poll in which we are the poller.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetailLink(LinkDesc detailLink) boolean@NotNull StringgetAuId()The id for the au being polled.@NotNull LongThe deadline for voting in this poll.@Valid LinkDescGet detailLinkThe number of urls with agreement.The number of completed repairs.The number of hash errors.The number of tallied urls.The number of participants voting.The time at which the poll ended.@NotNull StringKey generated by poll manager when poll was created.@NotNull LonggetStart()The timestamp for when the poll started.@NotNull StringThe current status of the poll.@NotNull StringThe V3 Poll variant.inthashCode()numAgreeUrls(Integer numAgreeUrls) numCompletedRepairs(Integer numCompletedRepairs) numHashErrors(Integer numHashErrors) numTalliedUrls(Integer numTalliedUrls) participants(Integer participants) voidvoidsetDeadline(Long deadline) voidsetDetailLink(LinkDesc detailLink) voidsetNumAgreeUrls(Integer numAgreeUrls) voidsetNumCompletedRepairs(Integer numCompletedRepairs) voidsetNumHashErrors(Integer numHashErrors) voidsetNumTalliedUrls(Integer numTalliedUrls) voidsetParticipants(Integer participants) voidsetPollEnd(Long pollEnd) voidsetPollKey(String pollKey) voidvoidvoidsetVariant(String variant) toString()
-
Constructor Details
-
PollerSummary
public PollerSummary()
-
-
Method Details
-
auId
-
getAuId
The id for the au being polled.- Returns:
- auId
-
setAuId
-
variant
-
getVariant
The V3 Poll variant.- Returns:
- variant
-
setVariant
-
status
-
getStatus
The current status of the poll.- Returns:
- status
-
setStatus
-
participants
-
getParticipants
The number of participants voting.- Returns:
- participants
-
setParticipants
-
numTalliedUrls
-
getNumTalliedUrls
The number of tallied urls.- Returns:
- numTalliedUrls
-
setNumTalliedUrls
-
numHashErrors
-
getNumHashErrors
The number of hash errors.- Returns:
- numHashErrors
-
setNumHashErrors
-
numCompletedRepairs
-
getNumCompletedRepairs
The number of completed repairs.- Returns:
- numCompletedRepairs
-
setNumCompletedRepairs
-
numAgreeUrls
-
getNumAgreeUrls
The number of urls with agreement.- Returns:
- numAgreeUrls
-
setNumAgreeUrls
-
start
-
getStart
The timestamp for when the poll started.- Returns:
- start
-
setStart
-
deadline
-
getDeadline
The deadline for voting in this poll.- Returns:
- deadline
-
setDeadline
-
pollEnd
-
getPollEnd
The time at which the poll ended.- Returns:
- pollEnd
-
setPollEnd
-
pollKey
-
getPollKey
Key generated by poll manager when poll was created.- Returns:
- pollKey
-
setPollKey
-
detailLink
-
getDetailLink
Get detailLink- Returns:
- detailLink
-
setDetailLink
-
equals
-
hashCode
public int hashCode() -
toString
-