You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by sandeshh <gi...@git.apache.org> on 2016/07/05 17:07:18 UTC

[GitHub] apex-malhar pull request #324: Spillable Datastructures PR for review only

Github user sandeshh commented on a diff in the pull request:

    https://github.com/apache/apex-malhar/pull/324#discussion_r69600767
  
    --- Diff: library/src/main/java/org/apache/apex/malhar/lib/state/spillable/TimeBasedPriorityQueue.java ---
    @@ -0,0 +1,128 @@
    +package org.apache.apex.malhar.lib.state.spillable;
    +
    +import java.util.Iterator;
    +import java.util.Map;
    +import java.util.Set;
    +
    +import org.slf4j.Logger;
    +import org.slf4j.LoggerFactory;
    +
    +import com.google.common.base.Preconditions;
    +import com.google.common.collect.Maps;
    +import com.google.common.collect.Sets;
    +
    +public class TimeBasedPriorityQueue<T>
    --- End diff --
    
    Have you looked at https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/DelayQueue.html ?


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---