[ https://issues.apache.org/jira/browse/BEAM-940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16066409#comment-16066409 ]
Innocent commented on BEAM-940: ------------------------------- Is it there a way to create an OnTimerMethod using DoFn and timerId? I am looking for a way to key the cache with OnTimerMethod. Can you please elaborate a bit on the idea you had? I think doing this with OnTimerMethod is the best way to make this very straightforward. I have the impression that using a tuple might improve this part of the code but might require an additional Tuple class I think we should go that route only if this is not achievable with the OnTimerMethod. > ByteBuddyOnTimerInvokerFactory: key the cache with a (Class, id) tuple or > OnTimerMethod > --------------------------------------------------------------------------------------- > > Key: BEAM-940 > URL: https://issues.apache.org/jira/browse/BEAM-940 > Project: Beam > Issue Type: Improvement > Components: sdk-java-core > Reporter: Kenneth Knowles > Assignee: Innocent > Priority: Trivial > > Right now it is a {{LoadingCache<Class, LoadingCache<id, OnTimerInvoker>>}}. > It is correct but just a bit less straightforward then we might like. -- This message was sent by Atlassian JIRA (v6.4.14#64029)