|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjavax.management.remote.NotificationResult
public class NotificationResult
快取記憶體的通知的查詢結果。通知快取記憶體中的通知具有正的、單調遞增的序列號。通知查詢的結果包含以下元素:
nextSequenceNumber 不能小於 earliestSequenceNumber。如果小於早先的序列號,這表明介於兩個號之間的通知可能已丟失。
| 建構子摘要 | |
|---|---|
NotificationResult(long earliestSequenceNumber,
long nextSequenceNumber,
TargetedNotification[] targetedNotifications)
建構一個通知查詢結果。 |
|
| 方法摘要 | |
|---|---|
long |
getEarliestSequenceNumber()
返回快取記憶體中保留的最早通知的序列號。 |
long |
getNextSequenceNumber()
返回下一個可供查詢使用的通知的序列號。 |
TargetedNotification[] |
getTargetedNotifications()
返回查詢到的通知以及相應的偵聽器。 |
String |
toString()
返回該物件的字元串表示形式。 |
| 從類別 java.lang.Object 繼承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 建構子詳細資訊 |
|---|
public NotificationResult(long earliestSequenceNumber,
long nextSequenceNumber,
TargetedNotification[] targetedNotifications)
建構一個通知查詢結果。
earliestSequenceNumber - 快取記憶體中仍保留的最早通知的序列號。nextSequenceNumber - 下一個可供查詢使用的通知的序列號。targetedNotifications - 查詢得到的通知以及相應的偵聽器。此陣列可以為空。
IllegalArgumentException - 如果 targetedNotifications 為 null,或者 earliestSequenceNumber 或 nextSequenceNumber 為負。| 方法詳細資訊 |
|---|
public long getEarliestSequenceNumber()
public long getNextSequenceNumber()
public TargetedNotification[] getTargetedNotifications()
public String toString()
Object 中的 toString
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。