Module

Finalizer

Inheritance

Usage:

add dependency R_method(obj, dependant)

  add(obj, dependant, method = :finalize, *opt)
  add_dependency(obj, dependant, method = :finalize, *opt)

delete dependency R_method(obj, dependant)

  delete(obj_or_id, dependant, method = :finalize)
  delete_dependency(obj_or_id, dependant, method = :finalize)

delete dependency R_*(obj, dependant)

  delete_all_dependency(obj_or_id, dependant)

delete dependency R_method(*, dependant)

  delete_by_dependant(dependant, method = :finalize)

delete dependency R_*(*, dependant)

  delete_all_by_dependant(dependant)

delete all dependency R_*(*, *)

  delete_all

finalize the dependant connected by dependency R_method(obj, dependtant).

  finalize(obj_or_id, dependant, method = :finalize)
  finalize_dependency(obj_or_id, dependant, method = :finalize)

finalize all dependants connected by dependency R_*(obj, dependtant).

  finalize_all_dependency(obj_or_id, dependant)

finalize the dependant connected by dependency R_method(*, dependtant).

  finalize_by_dependant(dependant, method = :finalize)

finalize all dependants connected by dependency R_*(*, dependant).

  finalize_all_by_dependant(dependant)

finalize all dependency registered to the Finalizer.

  finalize_all

stop invoking Finalizer on GC.

  safe{..}

Constants

Name   Description
RCS_ID = '-$Id: finalize.rb,v 1.4 1998/02/27 05:34:33 keiju Exp keiju $-'

Aliases

Method Alias Description
add_dependency → add
delete_dependency → delete
finalize_dependency → finalize

Methods

Class

Visibility Signature
public add_dependency (obj, dependant, method = :finalize, *opt)
public delete_all_by_dependant (dependant)
public delete_all_dependency (id, dependant)
public delete_by_dependant (dependant, method = :finalize)
public delete_dependency (id, dependant, method = :finalize)
public finalize_all ()
public finalize_all_by_dependant (dependant)
public finalize_all_dependency (id, dependant)
public finalize_by_dependant (dependant, method = :finalize)
public finalize_dependency (id, dependant, method = :finalize)
public safe () {|| ...}

Class Method Detail

add_dependency(obj, dependant, method = :finalize, *opt)

add dependency R_method(obj, dependant)

delete_all_by_dependant(dependant)

delete dependency R_*(*, dependant)

delete_all_dependency(id, dependant)

delete dependency R_*(obj, dependant)

delete_by_dependant(dependant, method = :finalize)

delete dependency R_method(*, dependant)

delete_dependency(id, dependant, method = :finalize)

delete dependency R_method(obj, dependant)

finalize_all()

finalize all dependants registered to the Finalizer.

finalize_all_by_dependant(dependant)

finalize all dependants connected by dependency R_*(*, dependtant)

finalize_all_dependency(id, dependant)

finalize all dependants connected by dependency R_*(obj, dependtant)

finalize_by_dependant(dependant, method = :finalize)

finalize the dependant connected by dependency R_method(*, dependtant)

finalize_dependency(id, dependant, method = :finalize)

finalize the depandant connected by dependency R_method(obj, dependtant)

safe() {|| ...}

method to call finalize_* safely.