Interface SQLRepositoryStatusMBean
- All Known Implementing Classes:
SQLRepositoryStatus
public interface SQLRepositoryStatusMBean
- Author:
- Florent Guillaume
-
Method Summary
Modifier and TypeMethodDescriptionClears the caches.gcBinaries
(boolean delete) GC the unused binaries.int
Return the opened sessions countlong
Evaluate caches sizeboolean
Is a GC of the binaries in progress?Lists the opened sessions.Lists the remote opened sessions
-
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
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
-