Package solutions.a2.cdc.oracle.jmx
Class OraCdcLogMinerMgmt
java.lang.Object
solutions.a2.cdc.oracle.jmx.OraCdcLogMinerMgmtBase
solutions.a2.cdc.oracle.jmx.OraCdcLogMinerMgmt
- All Implemented Interfaces:
OraCdcLogMinerMgmtIntf,OraCdcLogMinerMgmtMBean
public class OraCdcLogMinerMgmt
extends OraCdcLogMinerMgmtBase
implements OraCdcLogMinerMgmtMBean, OraCdcLogMinerMgmtIntf
- Author:
- averemee
-
Constructor Summary
ConstructorsConstructorDescriptionOraCdcLogMinerMgmt(OraRdbmsInfo rdbmsInfo, String connectorName, OraCdcLogMinerTask task) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAlreadyProcessed(List<String> lastProcessed, int count, long size, long redoReadMillis) voidaddCommittedRecords(int committedRecords, long transSize, int currentSentSize, int currentProcessingSize) voidaddDdlMetrics(int ddlCount, long ddlElapsed) voidvoidvoidaddRolledBackRecords(int rolledBackRecords, long transSize, int currentProcessingSize) voidaddSentRecords(int sentRecords, int parseTime) voidaddTableInProcessing(String tableName) voidintlongintlonglongintintintlonglongfloatString[]longintintlongfloatString[]longlongintintintfloatlongfloatlongintintlonglongintString[]intlongvoidvoidvoidsetNowProcessed(List<String> nowProcessedArchiveLogs, long currentFirstScn, long currentNextScn, int lagSeconds) voidstart(long startScn) Methods inherited from class solutions.a2.cdc.oracle.jmx.OraCdcLogMinerMgmtBase
getLagSeconds, getLastHundredProcessed, getLastRedoLog, getLastRedoLogTime, getLastScn, getNowProcessedArchiveLogsList, getProcessedArchivedRedoCount, getProcessedArchivedRedoSize, getRedoReadMbPerSec, getRedoReadTimeElapsed, getStartTimeLdt, getStartTimeMillis, setCurrentFirstScn
-
Constructor Details
-
OraCdcLogMinerMgmt
-
-
Method Details
-
start
public void start(long startScn) - Specified by:
startin interfaceOraCdcLogMinerMgmtIntf- Overrides:
startin classOraCdcLogMinerMgmtBase
-
getStartTime
- Specified by:
getStartTimein interfaceOraCdcLogMinerMgmtMBean
-
getStartScn
public long getStartScn()- Specified by:
getStartScnin interfaceOraCdcLogMinerMgmtMBean- Overrides:
getStartScnin classOraCdcLogMinerMgmtBase
-
addTableInProcessing
-
getTablesInProcessingCount
public int getTablesInProcessingCount()- Specified by:
getTablesInProcessingCountin interfaceOraCdcLogMinerMgmtMBean
-
getTablesInProcessing
- Specified by:
getTablesInProcessingin interfaceOraCdcLogMinerMgmtMBean
-
addTableOutOfScope
public void addTableOutOfScope() -
getTableOutOfScopeCount
public int getTableOutOfScopeCount()- Specified by:
getTableOutOfScopeCountin interfaceOraCdcLogMinerMgmtMBean
-
addPartitionInProcessing
public void addPartitionInProcessing() -
getPartitionsInProcessingCount
public int getPartitionsInProcessingCount()- Specified by:
getPartitionsInProcessingCountin interfaceOraCdcLogMinerMgmtMBean
-
setNowProcessed
public void setNowProcessed(List<String> nowProcessedArchiveLogs, long currentFirstScn, long currentNextScn, int lagSeconds) - Specified by:
setNowProcessedin interfaceOraCdcLogMinerMgmtIntf- Overrides:
setNowProcessedin classOraCdcLogMinerMgmtBase
-
getNowProcessedArchivelogs
- Specified by:
getNowProcessedArchivelogsin interfaceOraCdcLogMinerMgmtMBean
-
getCurrentFirstScn
public long getCurrentFirstScn()- Specified by:
getCurrentFirstScnin interfaceOraCdcLogMinerMgmtMBean- Overrides:
getCurrentFirstScnin classOraCdcLogMinerMgmtBase
-
getCurrentNextScn
public long getCurrentNextScn()- Specified by:
getCurrentNextScnin interfaceOraCdcLogMinerMgmtMBean- Overrides:
getCurrentNextScnin classOraCdcLogMinerMgmtBase
-
addAlreadyProcessed
public void addAlreadyProcessed(List<String> lastProcessed, int count, long size, long redoReadMillis) - Specified by:
addAlreadyProcessedin interfaceOraCdcLogMinerMgmtIntf- Overrides:
addAlreadyProcessedin classOraCdcLogMinerMgmtBase
-
getLast100ProcessedArchivelogs
- Specified by:
getLast100ProcessedArchivelogsin interfaceOraCdcLogMinerMgmtMBean
-
getProcessedArchivelogsCount
public int getProcessedArchivelogsCount()- Specified by:
getProcessedArchivelogsCountin interfaceOraCdcLogMinerMgmtMBean
-
getProcessedArchivelogsSizeGb
public float getProcessedArchivelogsSizeGb()- Specified by:
getProcessedArchivelogsSizeGbin interfaceOraCdcLogMinerMgmtMBean
-
getLastProcessedArchivelog
- Specified by:
getLastProcessedArchivelogin interfaceOraCdcLogMinerMgmtMBean
-
getLastProcessedScn
public long getLastProcessedScn()- Specified by:
getLastProcessedScnin interfaceOraCdcLogMinerMgmtMBean
-
getLastProcessedArchivelogTime
- Specified by:
getLastProcessedArchivelogTimein interfaceOraCdcLogMinerMgmtMBean
-
addRecord
public void addRecord() -
getTotalRecordsCount
public long getTotalRecordsCount()- Specified by:
getTotalRecordsCountin interfaceOraCdcLogMinerMgmtMBean
-
addCommittedRecords
public void addCommittedRecords(int committedRecords, long transSize, int currentSentSize, int currentProcessingSize) -
getCommittedRecordsCount
public long getCommittedRecordsCount()- Specified by:
getCommittedRecordsCountin interfaceOraCdcLogMinerMgmtMBean
-
getCommittedTransactionsCount
public int getCommittedTransactionsCount()- Specified by:
getCommittedTransactionsCountin interfaceOraCdcLogMinerMgmtMBean
-
addRolledBackRecords
public void addRolledBackRecords(int rolledBackRecords, long transSize, int currentProcessingSize) -
getRolledBackRecordsCount
public long getRolledBackRecordsCount()- Specified by:
getRolledBackRecordsCountin interfaceOraCdcLogMinerMgmtMBean
-
getRolledBackTransactionsCount
public int getRolledBackTransactionsCount()- Specified by:
getRolledBackTransactionsCountin interfaceOraCdcLogMinerMgmtMBean
-
addSentRecords
public void addSentRecords(int sentRecords, int parseTime) -
getSentRecordsCount
public long getSentRecordsCount()- Specified by:
getSentRecordsCountin interfaceOraCdcLogMinerMgmtMBean
-
getSentBatchesCount
public int getSentBatchesCount()- Specified by:
getSentBatchesCountin interfaceOraCdcLogMinerMgmtMBean
-
getParseElapsedMillis
public long getParseElapsedMillis()- Specified by:
getParseElapsedMillisin interfaceOraCdcLogMinerMgmtMBean
-
getParseElapsed
- Specified by:
getParseElapsedin interfaceOraCdcLogMinerMgmtMBean
-
getParsePerSecond
public int getParsePerSecond()- Specified by:
getParsePerSecondin interfaceOraCdcLogMinerMgmtMBean
-
getRedoReadElapsedMillis
public long getRedoReadElapsedMillis()- Specified by:
getRedoReadElapsedMillisin interfaceOraCdcLogMinerMgmtMBean
-
getRedoReadElapsed
- Specified by:
getRedoReadElapsedin interfaceOraCdcLogMinerMgmtMBean
-
getRedoReadMbPerSecond
public float getRedoReadMbPerSecond()- Specified by:
getRedoReadMbPerSecondin interfaceOraCdcLogMinerMgmtMBean
-
getElapsedTimeMillis
public long getElapsedTimeMillis()- Specified by:
getElapsedTimeMillisin interfaceOraCdcLogMinerMgmtMBean
-
getElapsedTime
- Specified by:
getElapsedTimein interfaceOraCdcLogMinerMgmtMBean
-
getActualLagSeconds
public int getActualLagSeconds()- Specified by:
getActualLagSecondsin interfaceOraCdcLogMinerMgmtMBean
-
getActualLagText
- Specified by:
getActualLagTextin interfaceOraCdcLogMinerMgmtMBean
-
addDdlMetrics
public void addDdlMetrics(int ddlCount, long ddlElapsed) -
getDdlColumnsCount
public int getDdlColumnsCount()- Specified by:
getDdlColumnsCountin interfaceOraCdcLogMinerMgmtMBean
-
getDdlElapsedMillis
public long getDdlElapsedMillis()- Specified by:
getDdlElapsedMillisin interfaceOraCdcLogMinerMgmtMBean
-
getDdlElapsed
- Specified by:
getDdlElapsedin interfaceOraCdcLogMinerMgmtMBean
-
getNumBytesWrittenUsingChronicleQueue
public long getNumBytesWrittenUsingChronicleQueue()- Specified by:
getNumBytesWrittenUsingChronicleQueuein interfaceOraCdcLogMinerMgmtMBean
-
getGiBWrittenUsingChronicleQueue
public float getGiBWrittenUsingChronicleQueue()- Specified by:
getGiBWrittenUsingChronicleQueuein interfaceOraCdcLogMinerMgmtMBean
-
getMaxTransactionSizeBytes
public long getMaxTransactionSizeBytes()- Specified by:
getMaxTransactionSizeBytesin interfaceOraCdcLogMinerMgmtMBean
-
getMaxTransactionSizeMiB
public float getMaxTransactionSizeMiB()- Specified by:
getMaxTransactionSizeMiBin interfaceOraCdcLogMinerMgmtMBean
-
getMaxNumberOfTransInSendQueue
public int getMaxNumberOfTransInSendQueue()- Specified by:
getMaxNumberOfTransInSendQueuein interfaceOraCdcLogMinerMgmtMBean
-
getCurrentNumberOfTransInSendQueue
public int getCurrentNumberOfTransInSendQueue()- Specified by:
getCurrentNumberOfTransInSendQueuein interfaceOraCdcLogMinerMgmtMBean
-
getMaxNumberOfTransInProcessingQueue
public int getMaxNumberOfTransInProcessingQueue()- Specified by:
getMaxNumberOfTransInProcessingQueuein interfaceOraCdcLogMinerMgmtMBean
-
getCurrentNumberOfTransInProcessingQueue
public int getCurrentNumberOfTransInProcessingQueue()- Specified by:
getCurrentNumberOfTransInProcessingQueuein interfaceOraCdcLogMinerMgmtMBean
-
saveCurrentState
public void saveCurrentState()- Specified by:
saveCurrentStatein interfaceOraCdcLogMinerMgmtMBean
-
saveCurrentTablesSchema
public void saveCurrentTablesSchema()- Specified by:
saveCurrentTablesSchemain interfaceOraCdcLogMinerMgmtMBean
-