Community articlerelease method (IFX)
Added by IBM contributorIBM on July 26, 2013
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Description

This method is required when the HardGC flag is false. When the HardGC flag is false, memory used by this object is not recovered during normal JVM garbage collection. As a result, you must call the release method when you are finished with this object.
It is safe to call the release method when the HardGC flag is true; in this case no action is taken.
Note: If you want to release an array of objects, you must iterate through the array and call this method on each object.

Method

public static void release ( );


Parameters

There are no parameters for this method.

Returns

Nothing. The release method does not throw an exception if an error occurs.

Example

public void processHashes(FormNodeP theForm) throws UWIException
{
  Hash theHashObject;
  
  /* hash object processing code not shown */
  
  theHashObject.release()
  
}


Parent topic:
IFX class