Class IngestStatistics
java.lang.Object
org.opencastproject.ingest.impl.jmx.IngestStatistics
- All Implemented Interfaces:
IngestStatisticsMXBean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(long bytes) voidfailed()longGets the total number of ingested bytes in the last fifteen minuteslongGets the total number of ingested bytes in the last five minuteslongGets the total number of ingested bytes in the last minuteintGets the number of failed ingest operationsintGets the number of successful ingest operationslongGets the total number of ingested bytesvoid
-
Constructor Details
-
IngestStatistics
public IngestStatistics()
-
-
Method Details
-
getSuccessfulIngestOperations
public int getSuccessfulIngestOperations()Description copied from interface:IngestStatisticsMXBeanGets the number of successful ingest operations- Specified by:
getSuccessfulIngestOperationsin interfaceIngestStatisticsMXBean- Returns:
- the number of ingest operations
- See Also:
-
getFailedIngestOperations
public int getFailedIngestOperations()Description copied from interface:IngestStatisticsMXBeanGets the number of failed ingest operations- Specified by:
getFailedIngestOperationsin interfaceIngestStatisticsMXBean- Returns:
- the number of ingest operations
- See Also:
-
getTotalBytes
public long getTotalBytes()Description copied from interface:IngestStatisticsMXBeanGets the total number of ingested bytes- Specified by:
getTotalBytesin interfaceIngestStatisticsMXBean- Returns:
- the number of bytes
- See Also:
-
getBytesInLastMinute
public long getBytesInLastMinute()Description copied from interface:IngestStatisticsMXBeanGets the total number of ingested bytes in the last minute- Specified by:
getBytesInLastMinutein interfaceIngestStatisticsMXBean- Returns:
- the number of bytes
- See Also:
-
getBytesInLastFiveMinutes
public long getBytesInLastFiveMinutes()Description copied from interface:IngestStatisticsMXBeanGets the total number of ingested bytes in the last five minutes- Specified by:
getBytesInLastFiveMinutesin interfaceIngestStatisticsMXBean- Returns:
- the number of bytes
- See Also:
-
getBytesInLastFifteenMinutes
public long getBytesInLastFifteenMinutes()Description copied from interface:IngestStatisticsMXBeanGets the total number of ingested bytes in the last fifteen minutes- Specified by:
getBytesInLastFifteenMinutesin interfaceIngestStatisticsMXBean- Returns:
- the number of bytes
- See Also:
-
add
public void add(long bytes) -
successful
public void successful() -
failed
public void failed()
-