|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityConnectionServerAdmin
Defines the server admin service methods.
Method Detail |
---|
void shutdown() throws RemoteException
RemoteException
- in case of a communication errorlong getStartDate() throws RemoteException
RemoteException
- in case of a communication errorString getDatabaseURL() throws RemoteException
RemoteException
- in case of a communication errorString getServerName() throws RemoteException
RemoteException
- in case of a communication errorint getServerPort() throws RemoteException
RemoteException
- in case of a communication errorint getServerDbPort() throws RemoteException
RemoteException
- in case of a communication errorint getConnectionCount() throws RemoteException
RemoteException
- in case of a communication errorint getConnectionLimit() throws RemoteException
RemoteException
- in case of a communication errorvoid setConnectionLimit(int value) throws RemoteException
value
- the maximum number of concurrent connections this servers accepts
RemoteException
- in case of a communication errorint getMaintenanceInterval() throws RemoteException
RemoteException
- in case of a communication errorvoid setMaintenanceInterval(int interval) throws RemoteException
interval
- the number of ms that should pass between maintenance cycles,
that is, when inactive clients are purged
RemoteException
- in case of a communication errorServerLog getServerLog(UUID clientID) throws RemoteException
clientID
- the ID of the client for which to retrieve the log
RemoteException
- in case of a communication errorint getActiveConnectionCount() throws RemoteException
RemoteException
- in case of a communication errorboolean isLoggingOn(UUID clientID) throws RemoteException
clientID
- the ID of the client
RemoteException
- in case of a communication errorvoid setLoggingOn(UUID clientID, boolean status) throws RemoteException
clientID
- the ID of the clientstatus
- the new logging status
RemoteException
- in case of a communication errorString getMemoryUsage() throws RemoteException
RemoteException
- in case of a communication errorlong getAllocatedMemory() throws RemoteException
RemoteException
- in case of a communication errorlong getUsedMemory() throws RemoteException
RemoteException
- in case of a communication errorlong getMaxMemory() throws RemoteException
RemoteException
- in case of a communication errorvoid performGC() throws RemoteException
RemoteException
- in case of a communication errorvoid disconnect(UUID clientID) throws RemoteException
clientID
- the ID of the client
RemoteException
- in case of a communication errorch.qos.logback.classic.Level getLoggingLevel() throws RemoteException
RemoteException
- in case of a communication errorvoid setLoggingLevel(ch.qos.logback.classic.Level level) throws RemoteException
level
- the logging level
RemoteException
- in case of a communication errorCollection<User> getUsers() throws RemoteException
RemoteException
- in case of a communication errorCollection<ClientInfo> getClients() throws RemoteException
RemoteException
- in case of a communication errorCollection<ClientInfo> getClients(User user) throws RemoteException
user
- the user for which to retrieve the client infos
RemoteException
- in case of a communication errorCollection<ClientInfo> getClients(String clientTypeID) throws RemoteException
clientTypeID
- the client type for which to retrieve the client infos
RemoteException
- in case of a communication errorint getConnectionTimeout() throws RemoteException
RemoteException
- in case of a communication errorvoid setConnectionTimeout(int timeout) throws RemoteException
timeout
- the timeout in ms
RemoteException
- in case of a communication errorCollection<String> getClientTypes() throws RemoteException
RemoteException
- in case of an exceptionList<User> getEnabledConnectionPools() throws RemoteException
RemoteException
- in case of an exceptionConnectionPoolStatistics getConnectionPoolStatistics(User user, long since) throws RemoteException
user
- the pool usersince
- the time since from which to retrieve pool statistics
RemoteException
- in case of an exceptionDatabase.Statistics getDatabaseStatistics() throws RemoteException
RemoteException
- in case of an exceptionint getRequestsPerSecond() throws RemoteException
RemoteException
- in case of an exceptionint getWarningTimeThreshold() throws RemoteException
RemoteException
- in case of an exceptionvoid setWarningTimeThreshold(int threshold) throws RemoteException
threshold
- the request warning time threshold in ms
RemoteException
- in case of an exceptionint getWarningTimeExceededPerSecond() throws RemoteException
RemoteException
- in case of an exceptionsetWarningTimeThreshold(int)
void removeConnections(boolean inactiveOnly) throws RemoteException
inactiveOnly
- if true, only inactive connections are removed
RemoteException
- in case of an exceptionvoid resetConnectionPoolStatistics(User user) throws RemoteException
user
- the pool user
RemoteException
- in case of an exceptionboolean isCollectFineGrainedPoolStatistics(User user) throws RemoteException
user
- the pool user
RemoteException
- in case of an exceptionvoid setCollectFineGrainedPoolStatistics(User user, boolean value) throws RemoteException
user
- the pool uservalue
- true if fine grained statistics should be collected for the given connection pool
RemoteException
- in case of an exceptionString getSystemProperties() throws RemoteException
RemoteException
- in case of an exceptionvoid loadDomainModel(URI location, String domainClassName) throws RemoteException, ClassNotFoundException, IllegalAccessException
location
- the classpath URIdomainClassName
- the domain class name
RemoteException
- in case of an exception
ClassNotFoundException
- in case the domain class in not found
IllegalAccessException
- in case the class loader access is deniedMap<String,String> getEntityDefinitions() throws RemoteException
RemoteException
- in case of an exceptionint getConnectionPoolCleanupInterval(User user) throws RemoteException
user
- the pool user
RemoteException
- in case of an exceptionvoid setConnectionPoolCleanupInterval(User user, int poolCleanupInterval) throws RemoteException
user
- the pool userpoolCleanupInterval
- the pool cleanup interval in ms
RemoteException
- in case of an exceptionboolean isConnectionPoolEnabled(User user) throws RemoteException
user
- the pool user
RemoteException
- in case of an exceptionvoid setConnectionPoolEnabled(User user, boolean enabled) throws RemoteException
user
- the pool userenabled
- the pool enabled status
RemoteException
- in case of an exceptionint getPooledConnectionTimeout(User user) throws RemoteException
user
- the pool user
RemoteException
- in case of an exceptionvoid setPooledConnectionTimeout(User user, int timeout) throws RemoteException
user
- the pool usertimeout
- the pooled connection timeout in ms
RemoteException
- in case of an exceptionint getMaximumPoolRetryWaitPeriod(User user) throws RemoteException
user
- the pool user
RemoteException
- in case of an exceptionvoid setMaximumPoolRetryWaitPeriod(User user, int value) throws RemoteException
user
- the pool uservalue
- the maximum time to wait between check out retries in ms
RemoteException
- in case of an exceptionint getMaximumPoolCheckOutTime(User user) throws RemoteException
user
- the pool user
RemoteException
- in case of an exceptionvoid setMaximumPoolCheckOutTime(User user, int value) throws RemoteException
user
- the pool uservalue
- the maximum time in ms to retry checking out a connection before throwing an exception
RemoteException
- in case of an exceptionint getMaximumConnectionPoolSize(User user) throws RemoteException
user
- the pool user
RemoteException
- in case of an exceptionvoid setMaximumConnectionPoolSize(User user, int value) throws RemoteException
user
- the pool uservalue
- the maximum connection pool size
RemoteException
- in case of an exceptionint getMinimumConnectionPoolSize(User user) throws RemoteException
user
- the pool user
RemoteException
- in case of an exceptionvoid setMinimumConnectionPoolSize(User user, int value) throws RemoteException
user
- the pool uservalue
- the minimum connection pool size
RemoteException
- in case of an exceptionint getPoolConnectionThreshold(User user) throws RemoteException
RemoteException
void setPoolConnectionThreshold(User user, int value) throws RemoteException
RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |