|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjava.lang.Thread
jp.co.scs.mbench.CSVAsynchronousDataWriter
public class CSVAsynchronousDataWriter
Data log handler (writer), asynchronous, cvs format.
| 入れ子のクラスの概要 |
|---|
| クラス java.lang.Thread から継承された入れ子のクラス/インタフェース |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| フィールドの概要 |
|---|
| クラス java.lang.Thread から継承されたフィールド |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| コンストラクタの概要 | |
|---|---|
CSVAsynchronousDataWriter(java.lang.String dataName)
Creates the instance of this class with file name |
|
| メソッドの概要 | |
|---|---|
void |
clean()
finalize this instance |
java.lang.String |
getDataName()
Gets the file name |
int |
getDataQueueSize()
Gets the size of queue |
void |
init()
initialize this instance |
boolean |
isInitialized()
Gets if this instance is already initialized |
boolean |
isRunning()
Gets the if this instance is running |
void |
run()
write the data log in queue and loop |
void |
setDataName(java.lang.String dataName)
Sets the file name |
void |
write(java.lang.String[] data)
Add the data log to queue |
| クラス 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 |
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public CSVAsynchronousDataWriter(java.lang.String dataName)
dataName - file name| メソッドの詳細 |
|---|
public void setDataName(java.lang.String dataName)
DataWriter 内の setDataNamedataName - file namepublic java.lang.String getDataName()
DataWriter 内の getDataNamepublic boolean isInitialized()
public boolean isRunning()
public int getDataQueueSize()
public void init()
throws BenchmarkTerminateException
DataWriter 内の initBenchmarkTerminateException - benchmark should be terminatedpublic void write(java.lang.String[] data)
DataWriter 内の writedata - data logpublic void run()
java.lang.Runnable 内の runjava.lang.Thread 内の runpublic void clean()
DataWriter 内の clean
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||