org.knime.core.node.tableview
Class RowCounterThread
java.lang.Object
java.lang.Thread
org.knime.core.node.tableview.RowCounterThread
- All Implemented Interfaces:
- Runnable
final class RowCounterThread
- extends Thread
Low priority thread, which counts rows in a table as background process.
This thread will inform the
TableContentModel
, from which this
process has been started, that there are more rows and, thus, the table
can fire events and the number of rows can be shown in the gui, for instance.
- Author:
- Bernd Wiswedel, University of Konstanz
- See Also:
TableContentModel.countRowsInBackground()
Method Summary |
void |
run()
Starts the thread and calls setRowCount in the content
model from time to time. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
RowCounterThread
RowCounterThread(TableContentModel contentModel)
- Creates a new thread for the table as given in the argument.
- Parameters:
contentModel
- The table whose rows need to be counted.
run
public void run()
- Starts the thread and calls
setRowCount
in the content
model from time to time.
- Specified by:
run
in interface Runnable
- Overrides:
run
in class Thread
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display,
or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the
copyright owner or as specified in the license file distributed with this product.