-
public final class SegmentDTO
-
-
Field Summary
Fields Modifier and Type Field Description private final Integersegmentprivate final StringtokenTypeprivate final Stringownerprivate final LongcurrentIndexprivate final Booleanreplayingprivate final Longbehindprivate final Statisticsstatisticsprivate final DoublesecondsToHead
-
Constructor Summary
Constructors Constructor Description SegmentDTO(Integer segment, String tokenType, String owner, Long currentIndex, Boolean replaying, Long behind, Statistics statistics, Double secondsToHead)
-
Method Summary
Modifier and Type Method Description final IntegergetSegment()final StringgetTokenType()final StringgetOwner()final LonggetCurrentIndex()final BooleangetReplaying()final LonggetBehind()final StatisticsgetStatistics()final DoublegetSecondsToHead()-
-
Method Detail
-
getSegment
final Integer getSegment()
-
getTokenType
final String getTokenType()
-
getCurrentIndex
final Long getCurrentIndex()
-
getReplaying
final Boolean getReplaying()
-
getStatistics
final Statistics getStatistics()
-
getSecondsToHead
final Double getSecondsToHead()
-
-
-
-