public class MonitorQuery
extends java.lang.Object
| Constructor and Description |
|---|
MonitorQuery(java.util.concurrent.Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(MonitorQueryListener listener)
Add a listener to the monitor query
|
protected void |
clear() |
void |
dispose() |
void |
removeListener(MonitorQueryListener listener) |
protected void |
setData(MonitorStatusInformation[] data)
Set current data set.
|
protected void |
updateData(java.util.List<MonitorStatusInformation> data,
java.util.Set<java.lang.String> removed,
boolean full) |
public void addListener(MonitorQueryListener listener)
If the listener was already added this operation has no effect
The listener will receive all current known elements in a first update call.
listener - the listener to addpublic void removeListener(MonitorQueryListener listener)
protected void updateData(java.util.List<MonitorStatusInformation> data, java.util.Set<java.lang.String> removed, boolean full)
public void dispose()
protected void setData(MonitorStatusInformation[] data)
data - the new data setprotected void clear()
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0