Re: [jira] [Commented] (TAP5-2562) remove periodic job from PeriodicExecutor by name

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Commented] (TAP5-2562) remove periodic job from PeriodicExecutor by name

bobharner
It might be better to return a list of jobs that have a certain name, then
the caller can decide what to do with each, including remove.
On Sep 6, 2016 5:34 AM, "Sven Homburg (JIRA)" <[hidden email]> wrote:

>
>     [ https://issues.apache.org/jira/browse/TAP5-2562?page=
> com.atlassian.jira.plugin.system.issuetabpanels:comment-
> tabpanel&focusedCommentId=15466965#comment-15466965 ]
>
> Sven Homburg commented on TAP5-2562:
> ------------------------------------
>
> yes, i share your demur.
> my suggestion;
>
> public void removeJob(String name) throws RemoveJobException
>
> so we can raise an exception if there more than one job with the same name
> or one, if there no job with the given name.
>
> what do you think about?
>
> > remove periodic job from PeriodicExecutor by name
> > -------------------------------------------------
> >
> >                 Key: TAP5-2562
> >                 URL: https://issues.apache.org/jira/browse/TAP5-2562
> >             Project: Tapestry 5
> >          Issue Type: Wish
> >          Components: tapestry-ioc
> >    Affects Versions: 5.4.1
> >            Reporter: Sven Homburg
> >            Priority: Minor
> >
> > it would nice to let us remove a periodic job from executor by the name
> of the job.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>
Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Commented] (TAP5-2562) remove periodic job from PeriodicExecutor by name

Jochen Kemnade-3
Could you post this in JIRA please?

Am 06.09.2016 um 14:35 schrieb Bob Harner:

> It might be better to return a list of jobs that have a certain name, then
> the caller can decide what to do with each, including remove.
> On Sep 6, 2016 5:34 AM, "Sven Homburg (JIRA)" <[hidden email]> wrote:
>
>>
>>     [ https://issues.apache.org/jira/browse/TAP5-2562?page=
>> com.atlassian.jira.plugin.system.issuetabpanels:comment-
>> tabpanel&focusedCommentId=15466965#comment-15466965 ]
>>
>> Sven Homburg commented on TAP5-2562:
>> ------------------------------------
>>
>> yes, i share your demur.
>> my suggestion;
>>
>> public void removeJob(String name) throws RemoveJobException
>>
>> so we can raise an exception if there more than one job with the same name
>> or one, if there no job with the given name.
>>
>> what do you think about?
>>
>>> remove periodic job from PeriodicExecutor by name
>>> -------------------------------------------------
>>>
>>>                 Key: TAP5-2562
>>>                 URL: https://issues.apache.org/jira/browse/TAP5-2562
>>>             Project: Tapestry 5
>>>          Issue Type: Wish
>>>          Components: tapestry-ioc
>>>    Affects Versions: 5.4.1
>>>            Reporter: Sven Homburg
>>>            Priority: Minor
>>>
>>> it would nice to let us remove a periodic job from executor by the name
>> of the job.
>>
>>
>>
>> --
>> This message was sent by Atlassian JIRA
>> (v6.3.4#6332)
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]