org.xmlBlaster.contrib.replication
Interface ReplSlaveMBean
- All Known Implementing Classes:
- ReplSlave
- public interface ReplSlaveMBean
getTopic
public java.lang.String getTopic()
getMinReplKey
public long getMinReplKey()
getMaxReplKey
public long getMaxReplKey()
getTransactionSeq
public long getTransactionSeq()
getStatus
public java.lang.String getStatus()
getSqlResponse
public java.lang.String getSqlResponse()
toggleActive
public boolean toggleActive()
throws java.lang.Exception
- Throws:
java.lang.Exception
cancelInitialUpdate
public void cancelInitialUpdate()
throws java.lang.Exception
- Throws:
java.lang.Exception
clearQueue
public void clearQueue()
throws java.lang.Exception
- Throws:
java.lang.Exception
removeQueueEntries
public long removeQueueEntries(long entries)
throws java.lang.Exception
- Throws:
java.lang.Exception
kill
public void kill()
throws java.lang.Exception
- Throws:
java.lang.Exception
reInitiateReplication
public java.lang.String reInitiateReplication()
throws java.lang.Exception
- Throws:
java.lang.Exception
getReplPrefix
public java.lang.String getReplPrefix()
getReplPrefixGroup
public java.lang.String getReplPrefixGroup()
getVersion
public java.lang.String getVersion()
isActive
public boolean isActive()
- These go to the backend (are invoked asynchronously to avoid blocking)
getQueueEntries
public long getQueueEntries()
isConnected
public boolean isConnected()
getSessionName
public java.lang.String getSessionName()
getLastMessage
public java.lang.String getLastMessage()
dumpEntries
public java.lang.String dumpEntries(int maxNum,
long maxSize,
java.lang.String fileName)
dumpFirstEntry
public java.lang.String dumpFirstEntry()
getConnection
public java.lang.String getConnection()
- Returns a string telling in which state the connection is. It can be stalled, connected or disconnected.
- Returns:
isCascading
public boolean isCascading()
getCascadedSessionName
public java.lang.String getCascadedSessionName()
getCascadedQueueEntries
public long getCascadedQueueEntries()
getCascadedTransactionSeq
public long getCascadedTransactionSeq()
getCascadedStatus
public java.lang.String getCascadedStatus()
isCascadedActive
public boolean isCascadedActive()
isCascadedConnected
public boolean isCascadedConnected()
getCascadedVersion
public java.lang.String getCascadedVersion()
getMasterConnection
public java.lang.String getMasterConnection()
getCascadedConnection
public java.lang.String getCascadedConnection()
getCascadedMasterConnection
public java.lang.String getCascadedMasterConnection()
setCountSingleMsg
public void setCountSingleMsg(boolean countSingleMsg)
isCountSingleMsg
public boolean isCountSingleMsg()
getMaxNumOfEntries
public int getMaxNumOfEntries()
setMaxNumOfEntries
public void setMaxNumOfEntries(int maxNumOfEntries)
Copyright © 1999-2007 The xmlBlaster.org contributers.