okuyama.imdst.job
クラス KeyNodeWatchJob

java.lang.Object
  上位を拡張 java.lang.Thread
      上位を拡張 okuyama.base.job.AbstractJob
          上位を拡張 okuyama.imdst.job.KeyNodeWatchJob
すべての実装されたインタフェース:
java.lang.Runnable, IJob

public class KeyNodeWatchJob
extends AbstractJob
implements IJob

KeyNodeを監視して生存確認を行う.
KeyNodeが停止している場合はそのNodeの復帰を待ち、復帰後、そのNodeとペアーのノードからデータ転送を行う.
Serverソケット関係の終了を監視.
Parameterファイルに設定されているマーカーファイル郡を使用して管理を行う.

作成者:
T.Okuyama

入れ子のクラスの概要
 
クラス java.lang.Thread から継承された入れ子のクラス/インタフェース
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
フィールドの概要
 
クラス okuyama.base.job.AbstractJob から継承されたフィールド
END, ERR, ERROR, jobConfigMap, RUN, status, SUCCESS, WAIT
 
クラス java.lang.Thread から継承されたフィールド
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
コンストラクタの概要
KeyNodeWatchJob()
           
 
メソッドの概要
 java.lang.String executeJob(java.lang.String optionParam)
          executeJob.
 void initJob(java.lang.String initValue)
          initJob.
 
クラス okuyama.base.job.AbstractJob から継承されたメソッド
addHelperQueueParam, addSpecificationParameterQueue, createUniqueHelperParamQueue, executeHelper, executeHelper, executeHelper, executeHelperQueue, executeHelperQueue, getActiveHelperCount, getHelperStatus, getJobName, getJobShareParam, getJobShareParamKeys, getPostProcess, getPreProcess, getPropertiesValue, getStatus, isJobFileChange, reloadJobFileParameter, removeHelperReturnParam, run, setConfig, setJobShareParam, setPostProcess, setPreProcess, waitGetHelperReturnParam
 
クラス java.lang.Thread から継承されたメソッド
activeCount, checkAccess, clone, 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

KeyNodeWatchJob

public KeyNodeWatchJob()
メソッドの詳細

initJob

public void initJob(java.lang.String initValue)
クラス AbstractJob の記述:
initJob.
ユーザJob実装部分.

定義:
インタフェース IJob 内の initJob
定義:
クラス AbstractJob 内の initJob
パラメータ:
initValue - 初期値(設定ファイルの「init」で指定した値になる)

executeJob

public java.lang.String executeJob(java.lang.String optionParam)
                            throws BatchException
クラス AbstractJob の記述:
executeJob.
ユーザJob実装部分.

定義:
インタフェース IJob 内の executeJob
定義:
クラス AbstractJob 内の executeJob
パラメータ:
optionParam - 初期値(設定ファイルの「option」で指定した値になる)
戻り値:
String 実行結果
例外:
BatchException