Package org.eclipse.net4j.signal
Class SignalCounter
java.lang.Object
org.eclipse.net4j.signal.SignalCounter
- All Implemented Interfaces:
EventListener
,org.eclipse.net4j.util.event.IListener
- Since:
- 3.0
- Author:
- Eike Stepper
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.IListener
org.eclipse.net4j.util.event.IListener.NotifierAware
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
dispose()
void
dump
(PrintStream out, boolean clearCountsWhenDone) int
getCountFor
(Class<? extends Signal> signal) int
Get the number of different signal counted.void
notifyEvent
(org.eclipse.net4j.util.event.IEvent event) int
removeCountFor
(Class<? extends Signal> signal)
-
Constructor Details
-
SignalCounter
public SignalCounter() -
SignalCounter
- Since:
- 4.1
-
-
Method Details
-
getCountForSignalTypes
public int getCountForSignalTypes()Get the number of different signal counted.- Since:
- 4.4
-
getCountFor
-
removeCountFor
- Since:
- 4.6
-
clearCounts
public void clearCounts() -
dump
- Since:
- 4.8
-
notifyEvent
public void notifyEvent(org.eclipse.net4j.util.event.IEvent event) - Specified by:
notifyEvent
in interfaceorg.eclipse.net4j.util.event.IListener
-
dispose
public void dispose()- Since:
- 4.6
-