private class ServiceMonitorExtension.ServiceEventCounter extends Object implements org.osgi.framework.ServiceListener
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
counter |
| Modifier | Constructor and Description |
|---|---|
private |
ServiceEventCounter() |
| Modifier and Type | Method and Description |
|---|---|
int |
get() |
void |
reset()
Resets the counter.
|
void |
serviceChanged(org.osgi.framework.ServiceEvent serviceEvent)
Notified when a service event is fired.
|
void |
start()
Starts counting.
|
void |
stop()
Stops counting.
|
public void start()
public void reset()
public void stop()
public int get()
public void serviceChanged(org.osgi.framework.ServiceEvent serviceEvent)
serviceChanged in interface org.osgi.framework.ServiceListenerserviceEvent - the service eventCopyright © 2013–2015 Wisdom Framework. All rights reserved.