votorola.a.election
Class CR_Vote.CachedCountNodeTable
java.lang.Object
CountNode.Table
CR_Vote.CachedCountNodeTable
- Enclosing class:
- CR_Vote
@ThreadRestricted
static final class CR_Vote.CachedCountNodeTable
- extends CountNode.Table
A count-node table that caches its nodes.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CR_Vote.CachedCountNodeTable
CR_Vote.CachedCountNodeTable(ReadyDirectory rD,
Database d)
throws IOException
- Throws:
IOException
get
CountNode get(String voterEmail)
throws SQLException
- Description copied from class:
CountNode.Table
- Retrieves a node from this table.
- Overrides:
get in class CountNode.Table
- Returns:
- node as stored in the table; or null, if none is stored
- Throws:
SQLException
getOrCreate
public CountNode getOrCreate(String voterEmail)
throws SQLException
- Description copied from class:
CountNode.Table
- Retrieves a node from this table; or, if none is stored, a default node.
- Overrides:
getOrCreate in class CountNode.Table
- Returns:
- CountNode as stored in the table; or, if none is stored,
a CountNodeIC with default values
- Throws:
SQLException