Class FlashJournalRM.FileLifecycleStatistics

java.lang.Object
com.tangosol.io.journal.FlashJournalRM.FileLifecycleStatistics
Enclosing class:
FlashJournalRM

protected static class FlashJournalRM.FileLifecycleStatistics extends Object
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 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