|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SystemManagerLocal
Provides access to the server cloud's system configuration as well as some methods to perform configuration on the server in which this bean is running.
| Method Summary | |
|---|---|
long |
analyze(Subject whoami)
Run analyze command on PostgreSQL databases. |
void |
enableHibernateStatistics()
Creates and registers the Hibernate Statistics MBean. |
DatabaseType |
getDatabaseType()
Returns the DatabaseType that corresponds to the database the JON Server uses for its backend. |
java.util.Date |
getExpiration()
|
License |
getLicense()
|
ServerVersion |
getServerVersion(Subject subject)
|
java.util.Properties |
getSystemConfiguration()
Get the server cloud configuration. |
boolean |
isMonitoringEnabled()
|
void |
loadSystemConfigurationCache()
Grabs the current system configuration from the database and reloads the cache with it. |
void |
loadSystemConfigurationCacheInNewTx()
Grabs the current system configuration from the database and reloads the cache with it. |
void |
reconfigureSystem(Subject whoami)
Performs some reconfiguration things on the server where we are running. |
long |
reindex(Subject whoami)
Reindexes all tables that need to be periodically reindexed. |
void |
scheduleConfigCacheReloader()
Schedules the internal timer job that periodically refreshes the configuration cache. |
void |
setSystemConfiguration(Subject subject,
java.util.Properties properties,
boolean skipValidation)
Set the server cloud configuration. |
void |
undeployInstaller()
Ensures the installer has been undeployed. |
void |
updateLicense(Subject subject,
byte[] licenseData)
|
long |
vacuum(Subject whoami)
Run database-specific cleanup routines. |
long |
vacuum(Subject whoami,
java.lang.String[] tableNames)
Run database-specific cleanup routines for the given tables. |
long |
vacuumAppdef(Subject whoami)
Run database-specific cleanup routines on appdef tables. |
| Method Detail |
|---|
DatabaseType getDatabaseType()
DatabaseType that corresponds to the database the JON Server uses for its backend.
This method is mainly to allow the caller to determine the kind of database in use so as to determine what syntax to use for a particular native query.
void scheduleConfigCacheReloader()
java.util.Properties getSystemConfiguration()
void setSystemConfiguration(Subject subject,
java.util.Properties properties,
boolean skipValidation)
subject - the user who wants to change the settingsproperties - the new system configuration settingsskipValidation - if true, validation will not be performed on the propertiesvoid enableHibernateStatistics()
void reconfigureSystem(Subject whoami)
long analyze(Subject whoami)
whoami - the user requesting the operation
long reindex(Subject whoami)
whoami - the user requesting the operation
long vacuum(Subject whoami)
whoami - the user requesting the operation
long vacuum(Subject whoami,
java.lang.String[] tableNames)
whoami - the user requesting the operationtableNames - names of specific tables that will be vacuumed.
long vacuumAppdef(Subject whoami)
whoami - the user requesting the operation
void undeployInstaller()
void loadSystemConfigurationCacheInNewTx()
getSystemConfiguration()
instead.
void loadSystemConfigurationCache()
getSystemConfiguration()
instead.
boolean isMonitoringEnabled()
License getLicense()
void updateLicense(Subject subject,
byte[] licenseData)
java.util.Date getExpiration()
ServerVersion getServerVersion(Subject subject)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||