Github user ilooner commented on a diff in the pull request:
https://github.com/apache/incubator-apex-malhar/pull/255#discussion_r60859142
--- Diff:
library/src/main/java/org/apache/apex/malhar/lib/wal/WindowDataManager.java ---
@@ -227,6 +235,22 @@ public void delete(int operatorId, long windowId)
throws IOException
return storageAgent.getWindowIds(operatorId);
}
+ @Override
+ public long[] getWindowIds() throws IOException
+ {
+ SortedSet<Long> windowIds = replayState.keySet();
+ long[] windowIdsArray = new long[windowIds.size()];
+
+ int index = 0;
+
+ for (Long windowId: windowIds) {
+ windowIdsArray[index] = windowId;
+ index++;
+ }
+
+ return windowIdsArray;
+ }
--- End diff --
@chandnisingh Added to the documentation
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---