Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch task ID to Task interface throughout. #133

Merged
merged 2 commits into from
Jul 22, 2015
Merged

Commits on Jul 16, 2015

  1. Configuration menu
    Copy the full SHA
    5d27e5f View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2015

  1. Switch task ID to task interface

    Core Consumer now has a RunningTask interface that wraps the underlying
    Task interface so that the struct underlying the Task interface returned
    by a Coordinator remains unchanged.
    
    This allows users to implement coordinator-specific Task structs,
    although Balancers and Handlers will have to type assert/switch the
    metafora.Task to the cooordinator-specific implementation.
    
    To allow for coordinator reuse with Task implementation variation, th
    m_etcd.Coordinator allows users to define a custom NewTask function to
    unmarshal the etcd task node into a use case specific struct.
    schmichael committed Jul 22, 2015
    Configuration menu
    Copy the full SHA
    62c709c View commit details
    Browse the repository at this point in the history