📄 replslavembean.java
字号:
/*------------------------------------------------------------------------------Name: ReplSlaveMBean.javaProject: xmlBlaster.orgCopyright: xmlBlaster.org, see xmlBlaster-LICENSE file------------------------------------------------------------------------------*/package org.xmlBlaster.contrib.replication;public interface ReplSlaveMBean { String getTopic(); long getMinReplKey(); long getMaxReplKey(); long getTransactionSeq(); String getStatus(); String getSqlResponse(); boolean toggleActive() throws Exception; void cancelInitialUpdate() throws Exception; void clearQueue() throws Exception; long removeQueueEntries(long entries) throws Exception; void kill() throws Exception; String reInitiateReplication() throws Exception; String getReplPrefix(); String getReplPrefixGroup(); String getVersion(); /** These go to the backend (are invoked asynchronously to avoid blocking) */ boolean isActive(); long getQueueEntries(); boolean isConnected(); String getSessionName(); String getLastMessage(); String dumpEntries(int maxNum, long maxSize, String fileName); String dumpFirstEntry(); /** * Returns a string telling in which state the connection is. It can be stalled, connected or disconnected. * @return */ public String getConnection(); // these are for the associated replication (if any) boolean isCascading(); String getCascadedSessionName(); long getCascadedQueueEntries(); long getCascadedTransactionSeq(); String getCascadedStatus(); boolean isCascadedActive(); boolean isCascadedConnected(); String getCascadedVersion(); String getMasterConnection(); String getCascadedConnection(); String getCascadedMasterConnection(); void setCountSingleMsg(boolean countSingleMsg); boolean isCountSingleMsg(); }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -