com.ibm.tivoli.maximo.messagehub

Class OffsetTracker

  • java.lang.Object
    • com.ibm.tivoli.maximo.messagehub.OffsetTracker


  • public class OffsetTracker
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      OffsetTracker(java.lang.String provider, java.lang.String topic, java.sql.Connection conn) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void close() 
      java.lang.Long getOffset(int tpart) 
      void setOffset(java.lang.Long offset, int tpart) 
      • Methods inherited from class java.lang.Object

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

      • OffsetTracker

        public OffsetTracker(java.lang.String provider,
                             java.lang.String topic,
                             java.sql.Connection conn)
                      throws java.sql.SQLException,
                             MXException
        Throws:
        java.sql.SQLException
        MXException
    • Method Detail

      • getOffset

        public java.lang.Long getOffset(int tpart)
                                 throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • setOffset

        public void setOffset(java.lang.Long offset,
                              int tpart)
                       throws java.sql.SQLException,
                              MXException
        Throws:
        java.sql.SQLException
        MXException
      • close

        public void close()