Hello Talip,
I don't think so. Debugging, the exact place where these threads
appears is after executing "Hazelcast.getTopic()".
public void start()
{
--> No threads here associated to Hazelcast.
this.sincroTopic = Hazelcast.getTopic(TOPIC_NAME);
--> Here appears the following resources:
Thread [hz.InThread] (Running)
Thread [hz.OutThread] (Running)
Thread [hz.MulticastThread] (Running)
Thread [hz.ServiceThread] (Running)
Thread [hz.QueryThread] (Running)
Thread [hz.executor-_hzInstance_0-thread-1] (Running)
Thread[pool-2-thread-1] (Running)
<-----------------------------------------------------------
Thread[pool-2-thread-2] (Running)
<-----------------------------------------------------------
Thread [hz.executor-_hzInstance_0-thread-2] (Running)
Thread [hz.executor-_hzInstance_0-thread-3] (Running)
// Add listener.
this.sincroTopic.addMessageListener(this);
}
And after several executions, the place where this "pool-2" appears is
always just after "Thread [hz.executor-_hzInstance_0-thread-1]". I
don't know if this can help you.
Thanks,
Joan.
------Mensaje original------
De: Talip Ozturk
Para:Ricardo Gonzalez
Asunto: Re: Topic destroy method does not work
Enviado: 10 Dic, 2009 15:05
All hazelcast thread names starts with "hz."
Would these threads be your or your container's threads?
-talip
On 10 dic, 13:04, Talip Ozturk <
ta...@hazelcast.com> wrote:
> This is expected. Because topic.destroy() only destroy the named topic
> in the Hazelcast cluster. Hazelcast is still active. For clean
> shutdown, you have to shutdown Hazelcast with Hazelcast.shutdown().
> You don't need to destroy your topic in the entire cluster as other
> live nodes might be still using it. Just do Hazelcast.shutdown() when
> your JVM(application) shuts down.
>
> -talip
>