public abstract class SelfDestructor
extends java.lang.Object
| Constructor and Description |
|---|
SelfDestructor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
clean()
Do not call this method directly.
|
void |
close()
Cleans up the object and marks it as cleaned.
|
protected void |
finalize()
Do not call this method directly.
|
protected abstract void clean()
throws java.lang.Exception
java.lang.Exception - if an error occurs during cleanupclose()public void close()
throws java.lang.Exception
java.lang.Exception - if an error occurs during cleanupprotected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable - if an error occurs during finalizationclose()