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

io.split.engine.sse.dtos.SegmentQueueDto Maven / Gradle / Ivy

The newest version!
package io.split.engine.sse.dtos;

public class SegmentQueueDto {
    private final String segmentName;
    private final long changeNumber;

    public SegmentQueueDto(String segmentName, long changeNumber) {
        this.segmentName = segmentName;
        this.changeNumber = changeNumber;
    }

    public String getSegmentName() {
        return  segmentName;
    }

    public long getChangeNumber() {
        return  changeNumber;
    }

    @Override
    public String toString() {
        return String.format("segmentName: %s - changeNumber: %s", segmentName, changeNumber);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy