|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.intermine.sql.writebatch.FlushJobUpdateStatistics
public class FlushJobUpdateStatistics
An interface representing a job to be performed when actually flushing data to a database.
| Constructor Summary | |
|---|---|
FlushJobUpdateStatistics(java.util.Map<java.lang.String,java.lang.Integer> activity,
BatchWriter batchWriter,
java.sql.Connection con)
Constructor for this class |
|
| Method Summary | |
|---|---|
void |
flush()
Performs the flush of all data represented by this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlushJobUpdateStatistics(java.util.Map<java.lang.String,java.lang.Integer> activity,
BatchWriter batchWriter,
java.sql.Connection con)
activity - a Map from table name to amount of activity in this batch writebatchWriter - a BatchWriter to use to update the statisticscon - a Connection with which to perform the updates| Method Detail |
|---|
public void flush()
throws java.sql.SQLException
flush in interface FlushJobjava.sql.SQLException - if there is a problem performing the flush
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||