Package de.otto.synapse.channel
Class ChannelResponse
- java.lang.Object
-
- de.otto.synapse.channel.ChannelResponse
-
public class ChannelResponse extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChannelResponsechannelResponse(java.lang.String channelName, com.google.common.collect.ImmutableList<ShardResponse> shardResponses)static ChannelResponsechannelResponse(java.lang.String channelName, ShardResponse... shardResponses)ChannelDurationBehindgetChannelDurationBehind()java.lang.StringgetChannelName()ChannelPositiongetChannelPosition()java.util.List<TextMessage>getMessages()java.util.Set<java.lang.String>getShardNames()com.google.common.collect.ImmutableList<ShardResponse>getShardResponses()
-
-
-
Method Detail
-
channelResponse
public static ChannelResponse channelResponse(java.lang.String channelName, com.google.common.collect.ImmutableList<ShardResponse> shardResponses)
-
channelResponse
public static ChannelResponse channelResponse(java.lang.String channelName, ShardResponse... shardResponses)
-
getChannelName
public java.lang.String getChannelName()
-
getChannelDurationBehind
public ChannelDurationBehind getChannelDurationBehind()
-
getMessages
public java.util.List<TextMessage> getMessages()
-
getShardNames
public java.util.Set<java.lang.String> getShardNames()
-
getShardResponses
public com.google.common.collect.ImmutableList<ShardResponse> getShardResponses()
-
getChannelPosition
public ChannelPosition getChannelPosition()
-
-