Arbortext PE 하위 프로세스 Deallocation
Once it has been allocated to a dynamic component, an Arbortext PE 하위 프로세스 can only be used by the code that allocated it. To release the Arbortext PE 하위 프로세스, the component that called the allocate method must subsequently call the com.arbortext.e3.E3Subprocess.deallocate method. To ensure the Arbortext PE 하위 프로세스 is released, placing thedeallocate call inside the finally block, which releases it regardless of any exceptions that might be thrown in the try block.
Deallocation is not optional. If a dynamic component fails to deallocate an Arbortext PE 하위 프로세스, the Arbortext PE 하위 프로세스 will never become usable for other purposes.
도움이 되셨나요?