|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.storage.sql.management.RepositoryStatus
public class RepositoryStatus
An MBean to manage SQL storage repositories.
Constructor Summary | |
---|---|
RepositoryStatus()
|
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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepositoryStatus()
Method Detail |
---|
public String listActiveSessions()
RepositoryStatusMBean
listActiveSessions
in interface RepositoryStatusMBean
public int getActiveSessionsCount()
RepositoryStatusMBean
getActiveSessionsCount
in interface RepositoryStatusMBean
public String clearCaches()
RepositoryStatusMBean
clearCaches
in interface RepositoryStatusMBean
public String listRemoteSessions()
RepositoryStatusMBean
listRemoteSessions
in interface RepositoryStatusMBean
public BinaryManagerStatus gcBinaries(boolean delete)
RepositoryStatusMBean
gcBinaries
in interface RepositoryStatusMBean
delete
- if false
don't actually delete the GCed binaries
(but still return statistics about them), if true
delete them
public boolean isBinariesGCInProgress()
RepositoryStatusMBean
It's only useful to call this from a separate thread from the one that
called RepositoryStatusMBean.gcBinaries(boolean)
.
isBinariesGCInProgress
in interface RepositoryStatusMBean
true
if a GC of the binaries is in progress
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |