public class ListenerRunner
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
ListenerRunner(MemoryHandler.Cost cost,
java.util.concurrent.CopyOnWriteArrayList<java.lang.ref.WeakReference<MemoryListener>> listeners)
Creates a runner to notify the clearing of memory levels
|
Modifier and Type | Method and Description |
---|---|
void |
run()
notify the objects
|
public ListenerRunner(@Nonnull MemoryHandler.Cost cost, @Nonnull java.util.concurrent.CopyOnWriteArrayList<java.lang.ref.WeakReference<MemoryListener>> listeners)
cost
- the costlisteners
- the objects to notifystSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.