Class ChannelStatus


  • public class ChannelStatus
    extends java.lang.Object
    ChannelStatus the channel status returned to the customer.
    • Constructor Summary

      Constructors 
      Constructor Description
      ChannelStatus()
      ChannelStatus default constructor
      ChannelStatus​(java.lang.String channelName, java.lang.String statusCode, java.lang.String latestOffsetToken)
      ChannelStatus constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getChannelName()
      Get the channel name of the channel status
      java.lang.String getLatestOffsetToken()
      Get the latest offset token for the channel with channel name in the snowflake server side.
      java.lang.String getStatusCode()
      Get the status code for the channel with channel name in the snowflake server side.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChannelStatus

        public ChannelStatus()
        ChannelStatus default constructor
      • ChannelStatus

        public ChannelStatus​(java.lang.String channelName,
                             java.lang.String statusCode,
                             java.lang.String latestOffsetToken)
        ChannelStatus constructor
        Parameters:
        channelName - the channel name of the channel status
        statusCode - the status code for the channel with channel name in the snowflake server
        latestOffsetToken - the latest offset token for the channel with channel name in the snowflake server side
    • Method Detail

      • getChannelName

        public java.lang.String getChannelName()
        Get the channel name of the channel status
        Returns:
        the channel name of the channel status
      • getLatestOffsetToken

        public java.lang.String getLatestOffsetToken()
        Get the latest offset token for the channel with channel name in the snowflake server side.
        Returns:
        the latest offset token
      • getStatusCode

        public java.lang.String getStatusCode()
        Get the status code for the channel with channel name in the snowflake server side.
        Returns:
        the status code