|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectVoterList
@ThreadSafe public final class VoterList
A compiled list of voters from a voter register.
| Constructor Summary | |
|---|---|
VoterList(Register register,
ReadyDirectory readyDirectory)
Partially constructs a VoterList, for init to finish. |
|
| Method Summary | |
|---|---|
(package private) void |
init(ListNodeC.Table listNodeTable,
Neighbourhood.Table neighbourhoodTable,
TrustEdge.Table trustEdgeTable)
Completes the construction of a new VoterList. |
(package private) boolean |
isObjectReadFromSerialFile(ReadyDirectory newReadyDirectory)
Returns true if this list is probably in sync with the serial file of the specified ready directory; false if that file has since been modified or deleted. |
ListNodeC.Table |
listNodeTable()
The relational store of voters that (in part) backs this list, or null. |
Neighbourhood.Table |
neighbourhoodTable()
The relational store of neighbourhoods that (in part) backs this list, or null. |
static VoterList |
readObjectFromSerialFile(ReadyDirectory readyDirectory)
|
ReadyDirectory |
readyDirectory()
The file part of the backing for this list. |
String |
summaryDescription()
A brief description of this list, in sentence form. |
TrustEdge.Table |
trustEdgeTable()
The relational store of trust edges that (in part) backs this list, or null. |
(package private) void |
writeObjectToSerialFile()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
VoterList(Register register,
ReadyDirectory readyDirectory)
readyDirectory()| Method Detail |
|---|
@ThreadRestricted(value="constructor")
void init(ListNodeC.Table listNodeTable,
Neighbourhood.Table neighbourhoodTable,
TrustEdge.Table trustEdgeTable)
listNodeTable(),
neighbourhoodTable(),
trustEdgeTable()boolean isObjectReadFromSerialFile(ReadyDirectory newReadyDirectory)
readObjectFromSerialFile(ReadyDirectory)
public static VoterList readObjectFromSerialFile(ReadyDirectory readyDirectory)
throws IOException
IOExceptionwriteObjectToSerialFile()
void writeObjectToSerialFile()
throws IOException
IOExceptionreadObjectFromSerialFile(ReadyDirectory)public ListNodeC.Table listNodeTable()
Pollserver.Run.outputDatabase(),
init(ListNodeC.Table,Neighbourhood.Table,TrustEdge.Table)public Neighbourhood.Table neighbourhoodTable()
Pollserver.Run.outputDatabase(),
init(ListNodeC.Table,Neighbourhood.Table,TrustEdge.Table)public ReadyDirectory readyDirectory()
public String summaryDescription()
Register.ConstructionContext.setListSummaryDescription(String)public TrustEdge.Table trustEdgeTable()
Pollserver.Run.outputDatabase(),
init(ListNodeC.Table,Neighbourhood.Table,TrustEdge.Table)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||