commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (JIRA)" <>
Subject [jira] [Updated] (LANG-878) Create a service implementation
Date Mon, 21 Oct 2013 19:41:42 GMT


Henri Yandell updated LANG-878:

    Fix Version/s: Patch Needed

> Create a service implementation
> -------------------------------
>                 Key: LANG-878
>                 URL:
>             Project: Commons Lang
>          Issue Type: Wish
>          Components: lang.concurrent.*
>            Reporter: offbynull
>            Priority: Minor
>             Fix For: Patch Needed
> It would be nice if commons lang had a Service class for threading -- similar to the
one provided by Guava, but without Guava's poorly designed API and excess baggage. This would
essentially be a thread with an initialization method and a shutdown method (along with the
actual run method). The thread creating the service would block until the initialization finishes
successfully, and the service would call shutdown when it finishes (or if it gets interrupted).
You would be able to query the state of the Service at any time.
> It would live in the concurrent package.

This message was sent by Atlassian JIRA

View raw message