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

com.fluxtion.ext.streaming.api.Anchor Maven / Gradle / Ivy

There is a newer version: 2.10.50
Show newest version
package com.fluxtion.ext.streaming.api;

import com.fluxtion.api.annotations.NoEventReference;
import com.fluxtion.api.annotations.OnEvent;
import com.fluxtion.api.annotations.PushReference;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * Creates a happens before relationship between two nodes even if there is no dependency relationship between the 
 * nodes.
 *
 * @author V12 Technology Ltd.
 */
@NoArgsConstructor
@AllArgsConstructor
public class Anchor {

    @NoEventReference
    public Object anchor;
    @PushReference
    public Object afterAnchor;

    @OnEvent
    public boolean push() {
        return false;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy