Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.storage.sql.management
Interface RepositoryStatusMBean

All Known Implementing Classes:
RepositoryStatus

public interface RepositoryStatusMBean

Author:
Florent Guillaume

Method Summary
 String clearCaches()
          Clears the caches.
 BinaryManagerStatus gcBinaries(boolean delete)
          GC the unused binaries.
 int getActiveSessionsCount()
          Return the opened sessions count
 boolean isBinariesGCInProgress()
          Is a GC of the binaries in progress?
 String listActiveSessions()
          Lists the opened sessions.
 String listRemoteSessions()
          Lists the remote opened sessions
 

Method Detail

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.


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

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.