org.bushe.swing.event
Class CleanupEvent
java.lang.Object
org.bushe.swing.event.CleanupEvent
public class CleanupEvent
- extends Object
Published when the ThreadSafeEventService cleans up stale subscribers.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CleanupEvent
public CleanupEvent(CleanupEvent.Status status,
int totalWeakRefsAndProxies,
Integer numStaleSubscribersCleaned)
getStatus
public CleanupEvent.Status getStatus()
getTotalWeakRefsAndProxies
public int getTotalWeakRefsAndProxies()
- Total weak refs and ProxySubscribers subscribed.
getNumStaleSubscribersCleaned
public Integer getNumStaleSubscribersCleaned()
- Null unless status is FINISHED_CLEANING.
- Returns:
- the number of stale subscribers cleaned during the cleanup run.
Copyright © 2011 Bushe Enterprises, Inc.. All Rights Reserved.