Interface SQLRepositoryStatusMBean
-
- All Known Implementing Classes:
SQLRepositoryStatus
public interface SQLRepositoryStatusMBean
- Author:
- Florent Guillaume
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
clearCaches()
Clears the caches.BinaryManagerStatus
gcBinaries(boolean delete)
GC the unused binaries.int
getActiveSessionsCount()
Return the opened sessions countlong
getCachesSize()
Evaluate caches sizeboolean
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.
-
getCachesSize
long getCachesSize()
Evaluate caches size- Since:
- 5.7.2
-
gcBinaries
BinaryManagerStatus gcBinaries(boolean delete)
GC the unused binaries.- Parameters:
delete
- iffalse
don't actually delete the GCed binaries (but still return statistics about them), iftrue
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
-
-