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.Ref
public void release()
release
in interface Housekeeper.Ref
public <T> Object add(T reference, Housekeeper.CleanupRunnable cleanup)
add
in interface Housekeeper.Ref
public void remove(Object cleanupKey)
remove
in interface Housekeeper.Ref
Copyright © 2013–2017 impossibl.com. All rights reserved.