Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.emory.mathcs.util.gc
Interface Finalizer

public interface Finalizer

Method Summary
`FinalizationStatus` | `finalizeObject(boolean forced)` Implement this method to perform finalization on an object registered with `FinalizationGroup.registerFinalizer(Object referrent, Finalizer finalizer)`.

Method Detail

### finalizeObject

    public FinalizationStatus finalizeObject(boolean forced)

  Implement this method to perform finalization on an object registered with `FinalizationGroup.registerFinalizer(Object referrent, Finalizer finalizer)`.

  Parameters:
    `forced` - `true` if the finalizer was invoked upon user request; `false` if it was invoked upon object garbage collection.
  Returns:
    FinalizationStatus null if the finalization is finished when this method returns; otherwise, a future that allows to query for the status of asynchronous finalization.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD