incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthieu Morel <>
Subject Re: close method in ProcessingElement
Date Sun, 05 May 2013 12:48:05 GMT
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?


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<>
says nothing regarding this method.

best regards,


View raw message