IReclaimable class abstract

@fileoverview Definition of the reclaimable interface. A reclaimable object has a reclaim method to to clean up references and resources.

Implementers

Constructors

IReclaimable()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

assertNotReclaimed() → void
assertReclaimed() → void
beforeReclaim() Future<Null>
Provide asynchronous behaviour which must execute before reclaim.
isNotReclaimed() bool
@return {bool} Whether the object has not been reclaimed of.
isReclaimed() bool
@return {bool} Whether the object has been reclaimed of.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reclaim() → void
Reclaims of the object and its resources. @return {void} Nothing.
registerReclaimable(IReclaimable reclaimable) → void
Chains together objects, so when over is reclaimed, children are reclaimed
toString() String
A string representation of this object.
inherited
unregisterReclaimable(IReclaimable reclaimable) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited