You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/01 22:42:59 UTC
[jira] [Commented] (BEAM-27) Add user-ready API for interacting
with timers
[ https://issues.apache.org/jira/browse/BEAM-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15626917#comment-15626917 ]
ASF GitHub Bot commented on BEAM-27:
------------------------------------
GitHub user kennknowles opened a pull request:
https://github.com/apache/incubator-beam/pull/1252
[BEAM-27] Factor of parameter analysis in DoFnSignatures; use it for @OnTimer methods
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
- [x] Make sure the PR title is formatted like:
`[BEAM-<Jira issue #>] Description of pull request`
- [x] Make sure tests pass via `mvn clean verify`. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
- [x] Replace `<Jira issue #>` in the title with the actual Jira issue
number, if there is one.
- [x] If this contribution is large, please file an Apache
[Individual Contributor License Agreement](https://www.apache.org/licenses/icla.txt).
---
R: @jkff
This might be easiest to review as individual commits, though the last one is the goal of this PR.
This PR is a prefix of ongoing work to invoke `@OnTimer` methods. I've peeled it off and fixed it up and added a smidge of testing. Since the code is entirely shared, just making sure the right path is taken provides moderate coverage. (a further refactor could make this clearer, by isolating the shared code into a class with its own unit tests, absolving its callers of proving they exercise the code path, but I thought this baby step was better)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kennknowles/incubator-beam DoFnSignatures
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-beam/pull/1252.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1252
----
commit 5946ec175d55f9164f9b1b34a06539da3c24f5ae
Author: Kenneth Knowles <kl...@google.com>
Date: 2016-11-01T04:30:40Z
Refactor and reuse parameter analysis in DoFnSignatures
commit 15a8901ade07c1649378a0b72238eb514877c61c
Author: Kenneth Knowles <kl...@google.com>
Date: 2016-11-01T21:48:54Z
Switch DoFnSignature, etc, from TypeToken to TypeDescriptor
commit 6de216695c05e4d9b283f0842aed8713075be7aa
Author: Kenneth Knowles <kl...@google.com>
Date: 2016-11-01T21:50:24Z
DoFnSignature: Make TypeDescriptor-returning methods public
commit 40bbfff3dba803951607ae15d5d2cf99fbe64a32
Author: Kenneth Knowles <kl...@google.com>
Date: 2016-11-01T22:38:01Z
Add TypeDescriptor#getTypes
----
> Add user-ready API for interacting with timers
> ----------------------------------------------
>
> Key: BEAM-27
> URL: https://issues.apache.org/jira/browse/BEAM-27
> Project: Beam
> Issue Type: Sub-task
> Components: sdk-java-core
> Reporter: Kenneth Knowles
> Assignee: Kenneth Knowles
>
> Pipeline authors will benefit from a different factorization of interaction with underlying timers. The current APIs are targeted at runner implementers.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)