Package org.jumpmind.symmetric.statistic
Interface IStatisticManager
- All Known Implementing Classes:
MockStatisticManager,StatisticManager
public interface IStatisticManager
This manager provides an API record statistics
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddJobStats(String targetNodeId, int targetNodeCount, String jobName, long startTime, long endTime, long processedCount) voidaddJobStats(String jobName, long startTime, long endTime, long processedCount) voidaddJobStats(String jobName, long startTime, long endTime, long processedCount, Exception e) voidaddJobStats(String jobName, long startTime, long endTime, long processedCount, String errorMessage) voidaddRouterStats(long startDataId, long endDataId, long dataReadCount, long peekAheadFillCount, List<DataGap> dataGaps, Set<String> transactions, Collection<OutgoingBatch> batches) voidflush()getNodeStatsForPeriod(Date start, Date end, String nodeId, int periodSizeInMinutes) getRouterStatsByBatch(Long batchId) voidincrementDataBytesExtracted(String channelId, long count) voidincrementDataBytesLoaded(String channelId, long count) voidincrementDataBytesLoadedOutgoing(String channelId, long count) voidincrementDataBytesSent(String channelId, long count) voidincrementDataEventInserted(String channelId, long count) voidincrementDataExtracted(String channelId, long count) voidincrementDataExtractedErrors(String channelId, long count) voidincrementDataLoaded(String channelId, long count) voidincrementDataLoadedErrors(String channelId, long count) voidincrementDataLoadedOutgoing(String channelId, long count) voidincrementDataLoadedOutgoingErrors(String channelId, long count) voidincrementDataRouted(String channelId, long count) voidincrementDataSent(String channelId, long count) voidincrementDataSentErrors(String channelId, long count) voidincrementNodesDisabled(long count) voidincrementNodesLoaded(long count) voidincrementNodesPulled(long count) voidincrementNodesPushed(long count) voidincrementNodesRegistered(long count) voidincrementNodesRejected(long count) voidincrementPurgedBatchIncomingRows(long count) voidincrementPurgedBatchOutgoingRows(long count) voidincrementPurgedDataEventRows(long count) voidincrementPurgedDataRows(long count) voidincrementPurgedExpiredDataRows(long count) voidincrementPurgedStrandedDataEventRows(long count) voidincrementPurgedStrandedDataRows(long count) voidvoidvoidincrementTotalNodesPulledTime(long count) voidincrementTotalNodesPushedTime(long count) voidincrementTriggersCreatedCount(long count) voidincrementTriggersRebuiltCount(long count) voidincrementTriggersRemovedCount(long count) voidremoveRouterStatsByBatch(Long batchId) voidsetDataUnRouted(String channelId, long count)
-
Method Details
-
newProcessInfo
-
getProcessInfos
List<ProcessInfo> getProcessInfos() -
getProcessInfosThatHaveDoneWork
List<ProcessInfo> getProcessInfosThatHaveDoneWork() -
getNodesWithProcessesInError
-
flush
void flush() -
addJobStats
-
addJobStats
-
addJobStats
-
addJobStats
-
addRouterStats
void addRouterStats(long startDataId, long endDataId, long dataReadCount, long peekAheadFillCount, List<DataGap> dataGaps, Set<String> transactions, Collection<OutgoingBatch> batches) -
getRouterStatsByBatch
-
removeRouterStatsByBatch
-
incrementDataLoadedErrors
-
incrementDataBytesLoaded
-
incrementDataLoaded
-
incrementDataLoadedOutgoingErrors
-
incrementDataBytesLoadedOutgoing
-
incrementDataLoadedOutgoing
-
incrementDataBytesSent
-
incrementDataSent
-
incrementDataEventInserted
-
incrementDataExtractedErrors
-
incrementDataBytesExtracted
-
incrementDataExtracted
-
setDataUnRouted
-
incrementDataRouted
-
incrementDataSentErrors
-
incrementRestart
void incrementRestart() -
incrementNodesPulled
void incrementNodesPulled(long count) -
incrementNodesPushed
void incrementNodesPushed(long count) -
incrementTotalNodesPulledTime
void incrementTotalNodesPulledTime(long count) -
incrementTotalNodesPushedTime
void incrementTotalNodesPushedTime(long count) -
incrementNodesRejected
void incrementNodesRejected(long count) -
incrementNodesLoaded
void incrementNodesLoaded(long count) -
incrementNodesRegistered
void incrementNodesRegistered(long count) -
incrementNodesDisabled
void incrementNodesDisabled(long count) -
incrementPurgedBatchIncomingRows
void incrementPurgedBatchIncomingRows(long count) -
incrementPurgedBatchOutgoingRows
void incrementPurgedBatchOutgoingRows(long count) -
incrementPurgedDataRows
void incrementPurgedDataRows(long count) -
incrementPurgedDataEventRows
void incrementPurgedDataEventRows(long count) -
incrementPurgedStrandedDataRows
void incrementPurgedStrandedDataRows(long count) -
incrementPurgedStrandedDataEventRows
void incrementPurgedStrandedDataEventRows(long count) -
incrementPurgedExpiredDataRows
void incrementPurgedExpiredDataRows(long count) -
incrementTriggersRemovedCount
void incrementTriggersRemovedCount(long count) -
incrementTriggersRebuiltCount
void incrementTriggersRebuiltCount(long count) -
incrementTriggersCreatedCount
void incrementTriggersCreatedCount(long count) -
incrementTableRows
-
getWorkingChannelStats
Map<String,ChannelStats> getWorkingChannelStats() -
getWorkingJobStats
-
getWorkingHostStats
HostStats getWorkingHostStats() -
getNodeStatsForPeriod
-
getMostRecentActiveTableSynced
String getMostRecentActiveTableSynced() -
getTotalLoadedRows
-