private class BundleMonitorExtension.BundleEventCounter extends Object implements org.osgi.framework.BundleListener
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
counter
Current count.
|
| Modifier | Constructor and Description |
|---|---|
private |
BundleEventCounter() |
| Modifier and Type | Method and Description |
|---|---|
void |
bundleChanged(org.osgi.framework.BundleEvent event)
Receives notification that a bundle has had a lifecycle change.
|
int |
get()
Gets the current counter value.
|
void |
reset()
Resets the counter.
|
void |
start()
Starts counting.
|
void |
stop()
Stops counting.
|
public void start()
public void reset()
public void stop()
public void bundleChanged(org.osgi.framework.BundleEvent event)
bundleChanged in interface org.osgi.framework.BundleListenerevent - The BundleEvent.public int get()
Copyright © 2013–2015 Wisdom Framework. All rights reserved.