Github user ilooner commented on a diff in the pull request: https://github.com/apache/apex-malhar/pull/345#discussion_r71095257 --- Diff: library/src/main/java/org/apache/apex/malhar/lib/window/impl/SpillableWindowedKeyedStorage.java --- @@ -0,0 +1,136 @@ +package org.apache.apex.malhar.lib.window.impl; + +import java.util.List; +import java.util.Map; + +import javax.annotation.concurrent.Immutable; +import javax.validation.constraints.NotNull; + +import org.apache.apex.malhar.lib.state.spillable.SpillableByteArrayListMultimapImpl; +import org.apache.apex.malhar.lib.state.spillable.SpillableByteMapImpl; +import org.apache.apex.malhar.lib.state.spillable.managed.ManagedStateSpillableStateStore; +import org.apache.apex.malhar.lib.utils.serde.Serde; +import org.apache.apex.malhar.lib.window.Window; +import org.apache.apex.malhar.lib.window.WindowedStorage; +import org.apache.commons.lang3.tuple.ImmutablePair; + +import com.datatorrent.netlet.util.Slice; + +/** + * Created by david on 7/15/16. + */ +public class SpillableWindowedKeyedStorage<K, V> implements WindowedStorage.WindowedKeyedStorage<K, V> +{ + @NotNull + private final ManagedStateSpillableStateStore store; --- End diff -- The field here should be of type SpillableComplexComponent, that way ManagedState isn't hardcoded
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---