Thread naming...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Thread naming...

hwaastad
Hi,
this might seem as a silly question:
Is there a naming standard in tomee for thread names?
Usually its like:
http-apr-8080-exec-9

but others have like:
EjbTimerPool - 276 (having spaces)

/hw
Reply | Threaded
Open this post in threaded view
|

Re: Thread naming...

Romain Manni-Bucau
Hi

*-exec-* ones come from tomcat (the connector) where openejb tends to use
either qualified names (org.apache....scheduler or class shortname like
EjbTimerPool) so no real coding standard there.


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2017-05-31 8:53 GMT+02:00 hwaastad <[hidden email]>:

> Hi,
> this might seem as a silly question:
> Is there a naming standard in tomee for thread names?
> Usually its like:
> http-apr-8080-exec-9
>
> but others have like:
> EjbTimerPool - 276 (having spaces)
>
> /hw
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.
> n4.nabble.com/Thread-naming-tp4681788.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: Thread naming...

hwaastad
OK,
but why the \s+?

/hw
Reply | Threaded
Open this post in threaded view
|

Re: Thread naming...

Romain Manni-Bucau
our org.apache.openejb.util.DaemonThreadFactory have this space in its
"pattern"


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2017-05-31 9:02 GMT+02:00 hwaastad <[hidden email]>:

> OK,
> but why the \s+?
>
> /hw
>
>
>
> --
> View this message in context: http://tomee-openejb.979440.
> n4.nabble.com/Thread-naming-tp4681788p4681790.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>