Hi Arinto,

that method is for properly cleaning up a PE instance. It could be used to 
release resources that may be allocated within PE instances, and it could be 
triggered by some special event (some kind of "poison" event), or some other 
condition.

It can be called from user code and custom behavior for releasing resources can 
be specified in "onRemove()" method.

Do you have a specific usage in mind?

Matthieu


On May 4, 2013, at 17:17 , Arinto Murdopo wrote:

Hi all,

What does close() method means in org.apache.s4.core.ProcessingElement class?

The 
documentation<https://people.apache.org/~mmorel/apache-s4-0.6.0-incubating-doc/javadoc/org/apache/s4/core/ProcessingElement.html#close%28%29>
 says nothing regarding this method.

best regards,

Arinto
www.otnira.com<http://www.otnira.com/>

Reply via email to