All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.espertech.esper.view.internal.IntersectAsymetricViewLocalState Maven / Gradle / Ivy

The newest version!
/*
 ***************************************************************************************
 *  Copyright (C) 2006 EsperTech, Inc. All rights reserved.                            *
 *  http://www.espertech.com/esper                                                     *
 *  http://www.espertech.com                                                           *
 *  ---------------------------------------------------------------------------------- *
 *  The software in this package is published under the terms of the GPL license       *
 *  a copy of which has been included with this distribution in the license.txt file.  *
 ***************************************************************************************
 */
package com.espertech.esper.view.internal;

import com.espertech.esper.client.EventBean;

import java.util.ArrayDeque;
import java.util.HashSet;
import java.util.Set;

public class IntersectAsymetricViewLocalState {
    private final EventBean[][] oldEventsPerView;
    private final Set removalEvents = new HashSet();
    private final ArrayDeque newEvents = new ArrayDeque();

    private EventBean[] newDataChildView;
    private boolean hasRemovestreamData;
    private boolean retainObserverEvents;
    private boolean discardObserverEvents;
    private Set oldEvents = new HashSet();

    public IntersectAsymetricViewLocalState(EventBean[][] oldEventsPerView) {
        this.oldEventsPerView = oldEventsPerView;
    }

    public EventBean[][] getOldEventsPerView() {
        return oldEventsPerView;
    }

    public Set getRemovalEvents() {
        return removalEvents;
    }

    public ArrayDeque getNewEvents() {
        return newEvents;
    }

    public EventBean[] getNewDataChildView() {
        return newDataChildView;
    }

    public void setNewDataChildView(EventBean[] newDataChildView) {
        this.newDataChildView = newDataChildView;
    }

    public boolean hasRemovestreamData() {
        return hasRemovestreamData;
    }

    public void setHasRemovestreamData(boolean isHasRemovestreamData) {
        this.hasRemovestreamData = isHasRemovestreamData;
    }

    public boolean isRetainObserverEvents() {
        return retainObserverEvents;
    }

    public void setIsRetainObserverEvents(boolean isRetainObserverEvents) {
        this.retainObserverEvents = isRetainObserverEvents;
    }

    public boolean isDiscardObserverEvents() {
        return discardObserverEvents;
    }

    public void setIsDiscardObserverEvents(boolean isDiscardObserverEvents) {
        this.discardObserverEvents = isDiscardObserverEvents;
    }

    public Set getOldEvents() {
        return oldEvents;
    }

    public void setOldEvents(Set oldEvents) {
        this.oldEvents = oldEvents;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy