com.ibm.db2.tools.repl.publication
Class HeartbeatMsg
java.lang.Object
|
+--com.ibm.db2.tools.repl.publication.Msg
|
+--com.ibm.db2.tools.repl.publication.InformationalMsg
|
+--com.ibm.db2.tools.repl.publication.HeartbeatMsg
- public class HeartbeatMsg
- extends InformationalMsg
The HeartbeatMsg is sent by the QCapture program to tell that QCapture is still running. The
HeartbeatMsg is optional, and is specified when the capture control tables are defined.
The QCaptupre program puts this msg on the queue when the heartbeat interval is reached, and
no other messages have been put on the queue.
Method Summary |
java.lang.String |
getLastCommitTime()
The timestamp (in GMT) of the last committed transaction. |
java.lang.String |
getSendQueueName()
Returns the name of the send queue (the name of the queue on the capture server) that this
msg was placed. |
void |
setLastCommitTime(java.lang.String string)
This method has no effect when used by a PublicationListener. |
void |
setSendQueueName(java.lang.String string)
This method has no effect when used by a PublicationListener. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
sendQueueName
protected java.lang.String sendQueueName
lastCommitTime
protected java.lang.String lastCommitTime
HeartbeatMsg
public HeartbeatMsg()
getLastCommitTime
public java.lang.String getLastCommitTime()
- The timestamp (in GMT) of the last committed transaction. May be null if no committed transactions.
- Returns:
- String The timestamp of the last committed transaction (or null if none).
getSendQueueName
public java.lang.String getSendQueueName()
- Returns the name of the send queue (the name of the queue on the capture server) that this
msg was placed.
- Returns:
- String The send queue name.
setLastCommitTime
public void setLastCommitTime(java.lang.String string)
- This method has no effect when used by a PublicationListener.
- Parameters:
string
-
setSendQueueName
public void setSendQueueName(java.lang.String string)
- This method has no effect when used by a PublicationListener.
- Parameters:
string
-