|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjp.terasoluna.fw.collector.AbstractCollector<P>
jp.terasoluna.fw.collector.file.FileCollector<P>
public class FileCollector<P>
FileCollector.
独立した別スレッドを起動し、FileQueryDAOを非同期で実行する。
| フィールドの概要 | |
|---|---|
protected Class<P> |
clazz
1行分の文字列を格納するファイル行オブジェクトクラス |
protected String |
fileName
ファイル名(絶対パスまたは相対パスのどちらか) |
protected jp.terasoluna.fw.file.dao.FileQueryDAO |
fileQueryDAO
FileQueryDAO |
| クラス jp.terasoluna.fw.collector.AbstractCollector から継承されたフィールド |
|---|
acquireDataCount, beginning, child, CURRENT_QUEUE_CHECK_SIZE, currentQueue, DEFAULT_QUEUE_SIZE, DEFAULT_SLEEP_WAIT, exceptionHandler, finish, fo, PREVIOUS_QUEUE_CHECK_SIZE, previousQueue, queue, queueSize, sleepWait, validationErrorHandler, validator, verboseLog |
| コンストラクタの概要 | |
|---|---|
protected |
FileCollector()
FileCollectorコンストラクタ. |
|
FileCollector(FileCollectorConfig<P> config)
FileCollectorコンストラクタ. |
|
FileCollector(jp.terasoluna.fw.file.dao.FileQueryDAO fileQueryDAO,
String fileName,
Class<P> clazz)
FileCollectorコンストラクタ. |
|
FileCollector(jp.terasoluna.fw.file.dao.FileQueryDAO fileQueryDAO,
String fileName,
Class<P> clazz,
CollectorExceptionHandler exceptionHandler)
FileCollectorコンストラクタ. |
|
FileCollector(jp.terasoluna.fw.file.dao.FileQueryDAO fileQueryDAO,
String fileName,
Class<P> clazz,
int queueSize,
CollectorExceptionHandler exceptionHandler)
FileCollectorコンストラクタ. |
| メソッドの概要 | |
|---|---|
Integer |
call()
|
| クラス jp.terasoluna.fw.collector.AbstractCollector から継承されたメソッド |
|---|
addQueue, addQueue, afterExecute, beforeExecute, close, closeQuietly, createCurrentQueue, createPreviousQueue, createQueue, createThreadFactory, execute, finalize, getCurrent, getExecutor, getNext, getPrevious, getQueue, getSleepWait, handleException, handleValidationError, hasNext, isFinish, iterator, next, remove, setFinish, setFinish, setQueueSize, setSleepWait, setVerbose, validate |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected jp.terasoluna.fw.file.dao.FileQueryDAO fileQueryDAO
protected String fileName
protected Class<P> clazz
| コンストラクタの詳細 |
|---|
protected FileCollector()
public FileCollector(jp.terasoluna.fw.file.dao.FileQueryDAO fileQueryDAO,
String fileName,
Class<P> clazz)
fileQueryDAO - FileQueryDAOインスタンスfileName - ファイル名(絶対パスまたは相対パスのどちらか)clazz - 1行分の文字列を格納するファイル行オブジェクトクラス
public FileCollector(jp.terasoluna.fw.file.dao.FileQueryDAO fileQueryDAO,
String fileName,
Class<P> clazz,
CollectorExceptionHandler exceptionHandler)
fileQueryDAO - FileQueryDAOインスタンスfileName - ファイル名(絶対パスまたは相対パスのどちらか)clazz - 1行分の文字列を格納するファイル行オブジェクトクラスexceptionHandler - 例外ハンドラ
public FileCollector(jp.terasoluna.fw.file.dao.FileQueryDAO fileQueryDAO,
String fileName,
Class<P> clazz,
int queueSize,
CollectorExceptionHandler exceptionHandler)
fileQueryDAO - FileQueryDAOインスタンスfileName - ファイル名(絶対パスまたは相対パスのどちらか)clazz - 1行分の文字列を格納するファイル行オブジェクトクラスqueueSize - キューのサイズ(1以上を設定すること)exceptionHandler - 例外ハンドラpublic FileCollector(FileCollectorConfig<P> config)
config - FileCollectorConfig FileCollector設定項目| メソッドの詳細 |
|---|
public Integer call()
throws Exception
Exception
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||