JavaTM Platform
Standard Ed. 6

javax.management.timer
クラス TimerNotification

java.lang.Object
  上位を拡張 java.util.EventObject
      上位を拡張 javax.management.Notification
          上位を拡張 javax.management.timer.TimerNotification
すべての実装されたインタフェース:
Serializable

public class TimerNotification
extends Notification

このクラスは、タイマー MBean によって送信される通知を定義します。
タイマー MBean の通知リストからタイマー通知を取得できるようにするタイマー通知識別子を定義します。

タイマー通知はタイマー MBean によって作成され、処理されます。

導入されたバージョン:
1.5
関連項目:
直列化された形式

フィールドの概要
 
クラス javax.management.Notification から継承されたフィールド
source
 
コンストラクタの概要
TimerNotification(String type, Object source, long sequenceNumber, long timeStamp, String msg, Integer id)
          タイマー通知オブジェクトを作成します。
 
メソッドの概要
 Integer getNotificationID()
          タイマー通知識別子を取得します。
 
クラス javax.management.Notification から継承されたメソッド
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString
 
クラス java.util.EventObject から継承されたメソッド
getSource
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

TimerNotification

public TimerNotification(String type,
                         Object source,
                         long sequenceNumber,
                         long timeStamp,
                         String msg,
                         Integer id)
タイマー通知オブジェクトを作成します。

パラメータ:
type - 通知型
source - 通知プロデューサ
sequenceNumber - ソースオブジェクト内の通知シーケンス番号
timeStamp - 通知発行日時
msg - 通知メッセージ
id - 通知識別子
メソッドの詳細

getNotificationID

public Integer getNotificationID()
タイマー通知識別子を取得します。

戻り値:
識別子

JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。