Interface SQLRepositoryStatusMBean

All Known Implementing Classes:
SQLRepositoryStatus

public interface SQLRepositoryStatusMBean
Author:
Florent Guillaume
  • Method Details

    • listActiveSessions

      String listActiveSessions()
      Lists the opened sessions.
    • listRemoteSessions

      String listRemoteSessions()
      Lists the remote opened sessions
    • getActiveSessionsCount

      int getActiveSessionsCount()
      Return the opened sessions count
    • clearCaches

      String clearCaches()
      Clears the caches.
    • getCachesSize

      long getCachesSize()
      Evaluate caches size
      Since:
      5.7.2
    • gcBinaries

      BinaryManagerStatus gcBinaries(boolean delete)
      GC the unused binaries.
      Parameters:
      delete - if false don't actually delete the GCed binaries (but still return statistics about them), if true delete them
      Returns:
      a status about the number of GCed binaries
    • isBinariesGCInProgress

      boolean isBinariesGCInProgress()
      Is a GC of the binaries in progress?

      It's only useful to call this from a separate thread from the one that called gcBinaries(boolean).

      Returns:
      true if a GC of the binaries is in progress