[ 
https://issues.apache.org/jira/browse/HDDS-195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Elek, Marton updated HDDS-195:
------------------------------
    Description: 
In some cases we need a class which can track the status of the outgoing 
commands.

The commands should be resent after a while except a status message is received 
about command completion.

On high level, we need a builder factory, which takes the following parameters:

* (destination) event type and the payload of the command which should be 
repeated.
* the ID of the command/event
* The event/topic of the completion messages. If an IdentifiableEventPayload is 
received on this topic, the specific event is done and don't need to resend it. 

  was:
In some cases we need a class which can track the status of the outgoing 
commands.

The commands should be resent after a while except a status message is received 
about command completion.

On high level, we need a builder factory, which takes the following parameters:

* (destination) event type and the payload of the command which should be 
repeated.
* the ID of the command/event
* The event/topic of the completion messages. If a EventWithIdentifier is 
received on this topic, the specific event is done and don't need to resend it. 


> Create generic CommandWatcher utility
> -------------------------------------
>
>                 Key: HDDS-195
>                 URL: https://issues.apache.org/jira/browse/HDDS-195
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Major
>             Fix For: 0.2.1
>
>         Attachments: HDDS-195.001.patch
>
>
> In some cases we need a class which can track the status of the outgoing 
> commands.
> The commands should be resent after a while except a status message is 
> received about command completion.
> On high level, we need a builder factory, which takes the following 
> parameters:
> * (destination) event type and the payload of the command which should be 
> repeated.
> * the ID of the command/event
> * The event/topic of the completion messages. If an IdentifiableEventPayload 
> is received on this topic, the specific event is done and don't need to 
> resend it. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to