class RECYCLING_POOL [R_ -> RECYCLABLE]
Summary
Overview
creation features
  • make
    Create a new recyclable objects container.
exported features
  • recycle (a_item: R_)
    Stores the object as being reuseable.
  • item: R_
    Returns a recycled object, if there is one to be obtained.
Garbage collector information and tuning:
  • collecting: BOOLEAN
    Is garbage collection enabled?
  • collection_off
    Disable garbage collection.
  • collection_on
    Enable garbage collection.
  • full_collect
    Force a full collection cycle if garbage collection is enabled (i.e. collecting is True); do nothing otherwise.
  • collector_counter: INTEGER_32
    The number of collections actually performed or -1 when the system is not using the SmartEiffel garbage collector (i.e. when the system is compiled using the -no_gc flag).
SmartEiffel Garbage collector information and tuning:
recycle (a_item: R_)
effective procedure
Stores the object as being reuseable.
item: R_
effective function
Returns a recycled object, if there is one to be obtained.
collecting: BOOLEAN
frozen
Is garbage collection enabled?
collection_off
frozen
Disable garbage collection.
collection_on
frozen
Enable garbage collection.
full_collect
frozen
Force a full collection cycle if garbage collection is enabled (i.e. collecting is True); do nothing otherwise.
collector_counter: INTEGER_32
frozen
The number of collections actually performed or -1 when the system is not using the SmartEiffel garbage collector (i.e. when the system is compiled using the -no_gc flag).
smart_eiffel_collector: BOOLEAN
frozen
effective function
Is the SmartEiffel garbage collector really used?
low_memory_strategy: BOOLEAN
frozen
effective function
Is the low memory strategy in use?
set_low_memory_strategy
frozen
effective procedure
high_memory_strategy: BOOLEAN
frozen
effective function
Is the high memory strategy in use?
set_high_memory_strategy
frozen
effective procedure
default_memory_strategy: BOOLEAN
frozen
effective function
Is the default memory strategy in use?
set_default_memory_strategy
frozen
effective procedure
allocated_bytes: INTEGER_32
frozen
effective function
Total number of allocated bytes of memory in the heap.