public class TSystemAccessorImpl extends TAbstractAccessor implements TSystemAccessor
canBeCancelled, clientRequests, requestCounter, SGUAI
Constructor and Description |
---|
TSystemAccessorImpl(TGenericAccessor genericAccessor)
Special Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected TResponseHandle |
diagnose(TCommandValue commandValue)
Execute the diagnose command.
|
java.lang.String |
getAPIVersion()
Get this a API´s version number.
|
java.lang.String |
getFullServerVersion()
Gets the full version information of the Tamino database server.
|
java.lang.String |
getServerAPIVersion()
Deprecated.
Please use getServerVersion() instead.
|
TServerEcho |
getServerEcho()
Get the echo object.
|
TServerTime |
getServerTime()
Get the server up time information.
|
java.lang.String |
getServerVersion()
Get the Tamino server version.
|
boolean |
isServerAlive()
Tries to establish a connection and returns the answer.
|
cancelRequests, getAccessCollection, getAccessLocation, getApplicationName, getCanBeCancelled, getDatabaseUri, getInvocation, getLocale, getLockMode, getLockwaitMode, getMaximumRequestDuration, invalidate, invoke, invoke, invoke, setAccessLocation, setApplicationName, setCanBeCancelled, setInvocation, setLockMode, setLockwaitMode, setMaximumRequestDuration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancelRequests, getAccessLocation, getApplicationName, getCanBeCancelled, getLockMode, getLockwaitMode, getMaximumRequestDuration, setAccessLocation, setApplicationName, setCanBeCancelled, setLockMode, setLockwaitMode, setMaximumRequestDuration
invalidate
public TSystemAccessorImpl(TGenericAccessor genericAccessor)
invocation
- responseBuilder
- public boolean isServerAlive() throws TAccessorException
isServerAlive
in interface TSystemAccessor
TAccrssorException
- if the the operation fails.TAccessorException
- signals an error while attempting to connect to the database.public TServerEcho getServerEcho() throws TAccessorException
getServerEcho
in interface TSystemAccessor
TAccrssorException
- if the the operation fails.TAccessorException
- signals an error while attempting to connect to retrieve
the information from the database.public java.lang.String getServerVersion() throws TAccessorException
getServerVersion
in interface TSystemAccessor
TAccrssorException
- if the the operation fails.TAccessorException
- signals an error while attempting to to retrieve
the information from the database.public java.lang.String getFullServerVersion() throws TAccessorException
This feature requires Tamino 4.2
getFullServerVersion
in interface TSystemAccessor
TAccessorException
- signals an error while attempting to to retrieve
the information from the database.public java.lang.String getServerAPIVersion() throws TAccessorException
getServerAPIVersion
in interface TSystemAccessor
TAccessorException
- signals an error while attempting to connect to retrieve
the information from the database.public TServerTime getServerTime() throws TAccessorException
getServerTime
in interface TSystemAccessor
TAccessorException
- if the the operation fails.public java.lang.String getAPIVersion()
getAPIVersion
in interface TSystemAccessor
protected TResponseHandle diagnose(TCommandValue commandValue) throws TAccessorException
TAccrssorException
- if the the operation fails.TAccessorException
Copyright (c) 2017 Software AG. All Rights Reserved.