Class FlashJournalRM.FileLifecycleStatistics
java.lang.Object
com.tangosol.io.journal.FlashJournalRM.FileLifecycleStatistics
- Enclosing class:
FlashJournalRM
Resettable FlashJournal file creation and deletion statistics. A reset
replaces the current instance, so an event already in progress is
credited to the interval in which it started.
- Since:
- 26.1.0.0
- Author:
- cp/cf 2010-06-10
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected longReturn the successful file creation count.protected longReturn the failed file creation count.protected longReturn the successful file deletion count.protected longReturn the failed file deletion count.protected voidRecord a successful file creation.protected voidRecord a failed file or channel creation attempt.protected voidRecord a successful file deletion.protected voidRecord a failed file deletion attempt.
-
Constructor Details
-
FileLifecycleStatistics
protected FileLifecycleStatistics()
-
-
Method Details
-
recordFileCreation
protected void recordFileCreation()Record a successful file creation. -
recordFileCreationError
protected void recordFileCreationError()Record a failed file or channel creation attempt. -
recordFileDeletion
protected void recordFileDeletion()Record a successful file deletion. -
recordFileDeletionError
protected void recordFileDeletionError()Record a failed file deletion attempt. -
getTotalFileCreationCount
protected long getTotalFileCreationCount()Return the successful file creation count.- Returns:
- the successful file creation count
-
getTotalFileCreationErrors
protected long getTotalFileCreationErrors()Return the failed file creation count.- Returns:
- the failed file creation count
-
getTotalFileDeletionCount
protected long getTotalFileDeletionCount()Return the successful file deletion count.- Returns:
- the successful file deletion count
-
getTotalFileDeletionErrors
protected long getTotalFileDeletionErrors()Return the failed file deletion count.- Returns:
- the failed file deletion count
-