public class ThreadedHousekeeper.Ref extends Object implements Housekeeper.Ref
| Constructor and Description |
|---|
ThreadedHousekeeper.Ref() |
| Modifier and Type | Method and Description |
|---|---|
<T> Object |
add(T reference,
Housekeeper.CleanupRunnable cleanup) |
ThreadedHousekeeper |
get() |
void |
release() |
void |
remove(Object cleanupKey) |
public ThreadedHousekeeper get()
get in interface Housekeeper.Refpublic void release()
release in interface Housekeeper.Refpublic <T> Object add(T reference, Housekeeper.CleanupRunnable cleanup)
add in interface Housekeeper.Refpublic void remove(Object cleanupKey)
remove in interface Housekeeper.RefCopyright © 2013–2017 impossibl.com. All rights reserved.