@ThreadSafe public class FinalizerService extends Object
| Constructor and Description |
|---|
FinalizerService() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFinalizer(Object referent,
Runnable cleanup)
When referent is freed by the garbage collector, run cleanup.
|
void |
destroy() |
void |
start() |
@PostConstruct public void start()
@PreDestroy public void destroy()
Copyright © 2012–2019. All rights reserved.