インタフェース IChecker
-
- すべてのスーパーインタフェース:
EventListener,ICheckerChanger,ICheckerListener,jp.co.sds_corp.util.config.IConfigSavable,jp.co.sds_corp.util.config.IConfigurable,jp.co.sds_corp.util.daemon.IService,Serializable
- 既知の実装クラスのリスト:
AbstractChecker,CPUChecker,DaemonChecker,DaemonManagerChecker,DbChecker,DriveChecker,DummyChecker,MemoryChecker,NetChecker,PingChecker,ProcessChecker,ServiceChecker,ShellChecker,WebChecker
public interface IChecker extends jp.co.sds_corp.util.daemon.IService, ICheckerListener, ICheckerChanger, Serializable
-
-
ネストされたクラスの概要
ネストされたクラス 修飾子とタイプ インタフェース 説明 static classIChecker.Status
-
メソッドの概要
すべてのメソッド インスタンス・メソッド abstractメソッド 修飾子とタイプ メソッド 説明 voidaddAction(IAction act)このサービスにアクションを追加します。voidcheck()監視を実行します。voidclearAction()このサービスに設定されているアクションを全てクリアします。voidclearCheckerStatus()状態を初期化します。List<IAction>getActionList()このサービスに設定されているアクションを返します。IChecker.StatusgetCheckerStatus()状態を取得します。ThrowablegetException()例外を取得します。intgetHashCode()hash値を取得します。longgetInterval()監視間隔(interval)を取得します。longgetResponseTime()レスポンスの帰ってきた時間を返します。ObjectgetResult(Object key)チェック結果を取得します。Map<Object,Object>getResults()チェック結果を取得します。IThresholdgetThreshold()このサービスに設定されているIThresholdを返します。StringgetType()監視対象の種別(type)を取得します。booleanisDebug()デバッグフラグを取得します。booleanisSaveHistory()履歴保存フラグを取得します。List<CheckerChangeEvent>listHistory()履歴を取得します。voidputResult(Object key, Object value)チェック結果を設定します。voidsetCheckerStatus(IChecker.Status var)状態を設定します。voidsetDebug(boolean var)デバッグフラグを設定します。voidsetException(Throwable var)例外を設定します。voidsetInterval(long var)監視間隔(interval)を設定します。voidsetSaveHistory(boolean var)履歴保存フラグを設定します。voidsetThreshold(IThreshold var)このサービスにIThresholdを設定します。voidsetType(String var)監視対象の種別(type)を設定します。-
インタフェースから継承されたメソッド jp.co.sds_corp.hibiya.server.ICheckerChanger
addCheckerListener, fireCheckerChange, removeCheckerListener
-
インタフェースから継承されたメソッド jp.co.sds_corp.hibiya.server.ICheckerListener
checkerChanged
-
-
-
-
メソッドの詳細
-
check
void check()
監視を実行します。
-
setCheckerStatus
void setCheckerStatus(IChecker.Status var)
状態を設定します。- パラメータ:
var- 設定する状態
-
getCheckerStatus
IChecker.Status getCheckerStatus()
状態を取得します。- 戻り値:
- 状態
-
clearCheckerStatus
void clearCheckerStatus()
状態を初期化します。
-
setType
void setType(String var)
監視対象の種別(type)を設定します。- パラメータ:
var- 設定するデータ
-
getType
String getType()
監視対象の種別(type)を取得します。- 戻り値:
- typeの内容
-
getResponseTime
long getResponseTime()
レスポンスの帰ってきた時間を返します。
-
setException
void setException(Throwable var)
例外を設定します。- パラメータ:
var- 例外
-
getException
Throwable getException()
例外を取得します。- 戻り値:
- 例外
-
setInterval
void setInterval(long var)
監視間隔(interval)を設定します。- パラメータ:
var- 設定するデータ
-
getInterval
long getInterval()
監視間隔(interval)を取得します。- 戻り値:
- intervalの内容
-
clearAction
void clearAction()
このサービスに設定されているアクションを全てクリアします。
-
addAction
void addAction(IAction act)
このサービスにアクションを追加します。- パラメータ:
act- 追加するアクション
-
setThreshold
void setThreshold(IThreshold var)
このサービスにIThresholdを設定します。- パラメータ:
var- 追加するIThreshold
-
getThreshold
IThreshold getThreshold()
このサービスに設定されているIThresholdを返します。- 戻り値:
- このサービスに設定されているIThreshold
-
setSaveHistory
void setSaveHistory(boolean var)
履歴保存フラグを設定します。- パラメータ:
var- 設定するデータ
-
isSaveHistory
boolean isSaveHistory()
履歴保存フラグを取得します。- 戻り値:
- 履歴保存フラグ
-
setDebug
void setDebug(boolean var)
デバッグフラグを設定します。- パラメータ:
var- 設定するデータ
-
isDebug
boolean isDebug()
デバッグフラグを取得します。- 戻り値:
- 履歴保存フラグ
-
listHistory
List<CheckerChangeEvent> listHistory()
履歴を取得します。- 戻り値:
- 履歴
-
getHashCode
int getHashCode()
hash値を取得します。- 戻り値:
- hash値
-
-