@Name(value="systemInfo") @Scope(value=CONVERSATION) public class SystemInfoManager extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
class |
SystemInfoManager.BinariesGCTask |
Modifier and Type | Field and Description |
---|---|
protected boolean |
binariesGCDelete |
protected boolean |
binariesWereDeleted |
protected BinaryManagerStatus |
binaryManagerStatus |
protected boolean |
binaryManagerStatusInvalidation |
protected String |
currentRepositoryName |
protected List<Repository> |
repositories |
protected static String |
RESTART_PATH |
protected RepoStat |
runningStat |
protected RepoStatInfo |
statResult |
Constructor and Description |
---|
SystemInfoManager() |
Modifier and Type | Method and Description |
---|---|
int |
getActiveSessionNumber() |
boolean |
getBinariesGCDelete() |
boolean |
getBinariesWereDeleted() |
BinaryManagerStatus |
getBinaryManagerStatus() |
String |
getCurrentRepositoryName() |
String |
getHostInfo() |
String |
getNuxeoPlatformIdentifier() |
SimplifiedServerInfo |
getNuxeoServerInfo() |
int |
getOpenSessionNumber() |
String |
getRepoUsage() |
RepoStatInfo |
getStatInfo() |
String |
getUptime() |
boolean |
isBinariesGCInProgress() |
boolean |
isBinaryManagerStatusAvailable() |
boolean |
isBundleDeployed(String bundleId) |
boolean |
isMultiRepo() |
boolean |
isStatInfoAvailable() |
boolean |
isStatInfoInProgress() |
List<Repository> |
listAvailableRepositories() |
String |
restartServer() |
void |
setBinariesGCDelete(boolean binariesGCDelete) |
void |
setCurrentRepositoryName(String name) |
void |
startBinariesGC() |
void |
startRepoStats() |
protected static final String RESTART_PATH
protected List<Repository> repositories
protected String currentRepositoryName
protected RepoStat runningStat
protected RepoStatInfo statResult
protected volatile boolean binaryManagerStatusInvalidation
protected volatile BinaryManagerStatus binaryManagerStatus
protected boolean binariesGCDelete
protected boolean binariesWereDeleted
public SystemInfoManager()
public String getHostInfo()
@Factory(value="nuxeoPlatformIdentifier", scope=APPLICATION) public String getNuxeoPlatformIdentifier()
@Factory(value="nuxeoServerInfo", scope=EVENT) public SimplifiedServerInfo getNuxeoServerInfo()
public boolean isBundleDeployed(String bundleId)
public boolean isMultiRepo()
public List<Repository> listAvailableRepositories()
public String getCurrentRepositoryName()
public void setCurrentRepositoryName(String name)
public int getOpenSessionNumber()
public int getActiveSessionNumber()
public void startRepoStats()
public boolean isStatInfoInProgress()
public boolean isStatInfoAvailable()
@Factory(value="repoStatResult", scope=EVENT) public RepoStatInfo getStatInfo()
public String getRepoUsage()
public String restartServer()
public void setBinariesGCDelete(boolean binariesGCDelete)
public boolean getBinariesGCDelete()
public boolean getBinariesWereDeleted()
public void startBinariesGC()
public boolean isBinariesGCInProgress()
public boolean isBinaryManagerStatusAvailable()
@Factory(value="binaryManagerStatus", scope=EVENT) public BinaryManagerStatus getBinaryManagerStatus()
Copyright © 2016 Nuxeo SA. All rights reserved.