Index

A B C D E G H I K L M N O P R S T U V 
All Classes and Interfaces|All Packages|Serialized Form

A

AbstractSessionConfiguration - Class in org.tentackle.session
AbstractSessionConfiguration() - Constructor for class org.tentackle.session.AbstractSessionConfiguration
Parent constructor.
AbstractSessionTask - Class in org.tentackle.session
A task being executed by the SessionTaskDispatcher.
AbstractSessionTask() - Constructor for class org.tentackle.session.AbstractSessionTask
Parent constructor.
add(MasterSerialEvent) - Method in class org.tentackle.session.MasterSerialListEvent
 
addModificationListener(ModificationListener) - Method in interface org.tentackle.session.ModificationTracker
Adds a modification listener.
addShutdownRunnable(Runnable) - Method in interface org.tentackle.session.ModificationTracker
Registers a pure runnable to be executed if the pdo tracker is terminated due to severe errors.
addTask(Task) - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
Adds a task to the queue.
afterClose(Session) - Method in interface org.tentackle.session.SessionCloseHandler
Invoked after closing.
alignExceptionCause(Throwable) - Method in class org.tentackle.session.SessionUtilities
Replaces exception cause probably not in the jvm's classpath when the stacktrace gets deserialized in another (usually remote) jvm.
alignTemporaryExceptionStatus(PersistenceException) - Method in class org.tentackle.session.SessionUtilities
Sets the temporary flag according to the exception's root cause and the session.
AlreadyLoggedInException - Exception Class in org.tentackle.session
Exception thrown if the user is already logged in.
Usually for application servers that don't allow a user logged in more than once.
AlreadyLoggedInException(Session, SessionInfo) - Constructor for exception class org.tentackle.session.AlreadyLoggedInException
Creates an AlreadyLoggedInException.
applyProperties() - Method in class org.tentackle.session.DefaultSessionInfo
 
applyProperties() - Method in interface org.tentackle.session.SessionInfo
Applies the properties to this session info.
Sets user, password and application-name from properties, if given.
applyTo(Collection<? extends SessionDependable>) - Method in interface org.tentackle.session.Session
Applies this session to a collection of session dependables.
applyTo(SessionDependable) - Method in interface org.tentackle.session.Session
Applies this session to a session dependable object.
The method must invoke obj.setSession() only if the session really differs.
assertCurrentSessionValid() - Static method in interface org.tentackle.session.Session
Asserts that a thread-local session is set.
assertMutable() - Method in class org.tentackle.session.DefaultSessionInfo
Asserts that this session info is mutable.

B

BackendConfiguration - Class in org.tentackle.session
Configuration for a database backend.
The configuration is stored via the standard Preferences and provides the parameters necessary to connect to the database backend.
The config refers to a DriverConfiguration that loads the corresponding driver.
BackendConfiguration(String, String, String, String, DriverConfiguration, String, String) - Constructor for class org.tentackle.session.BackendConfiguration
Creates a backend configuration.
beforeClose(Session) - Method in interface org.tentackle.session.SessionCloseHandler
Invoked before closing.
begin() - Method in interface org.tentackle.session.Session
Starts a transaction.
Does nothing if a transaction is already running!
begin(String) - Method in interface org.tentackle.session.Session
Starts a transaction.
Does nothing if a transaction is already running!
begin(String, TransactionIsolation, TransactionWritability) - Method in interface org.tentackle.session.Session
Starts a transaction.
Does nothing if a transaction is already running!

C

checkServerVersion(String) - Method in class org.tentackle.session.DefaultSessionInfo
 
checkServerVersion(String) - Method in interface org.tentackle.session.SessionInfo
Checks the version of the server.
ClassId - Annotation Interface in org.tentackle.session
Annotation for the class id of a persistent object.
cleanup() - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
cleanup() - Method in class org.tentackle.session.SessionKeepAliveDaemon
 
clearCloned() - Method in class org.tentackle.session.DefaultSessionInfo
 
clearCloned() - Method in interface org.tentackle.session.SessionInfo
Clears the cloned flag.
Useful if the session-info should no longer be treated as cloned.
clearCurrent() - Method in interface org.tentackle.session.Session
Clears the current session if this session is current.
clearPassword() - Method in class org.tentackle.session.DefaultSessionInfo
 
clearPassword() - Method in interface org.tentackle.session.SessionInfo
Clears the password.
Will remove it from memory by overwriting each element in the character array.
clone() - Method in class org.tentackle.session.DefaultSessionInfo
Clones a session info.
The password is copied, if not null.
The properties are cloned as well.
Cloned session infos are mutable by default and have no sessionName.
clone() - Method in interface org.tentackle.session.SessionInfo
Clones a session-info.
The password will be copied if not null.
clone(String) - Method in interface org.tentackle.session.Session
Clones a session.
If the session is closed, a PersistenceException is thrown.
The cloned session will always be non-grouped.
close() - Method in interface org.tentackle.session.Session
Close a session.
Closing an already closed session is okay and ignored.
If this session is the root of a session group, all grouped sessions will be ungrouped.
close(SessionInfo) - Method in interface org.tentackle.session.MultiUserSessionPool
Closes all sessions currently open for a given session info.
Useful to force logout for a user.
It is not an error, if there were no open sessions for the session info at all.
comment() - Element in annotation interface org.tentackle.session.Persistent
Optional comment.
commit(long) - Method in interface org.tentackle.session.Session
Commits a transaction if the corresponding Session.begin() has started it.
component() - Element in annotation interface org.tentackle.session.Persistent
Returns whether this is a component of the PDO.
This is true for all members/attributes and composite relations.
ConstraintException - Exception Class in org.tentackle.session
Runtime exception thrown for database constraint violations.
ConstraintException() - Constructor for exception class org.tentackle.session.ConstraintException
Constructs a new database constraint exception without a session and with null as its detail message.
ConstraintException(String) - Constructor for exception class org.tentackle.session.ConstraintException
Constructs a new database constraint exception without a session with the specified detail message.
ConstraintException(String, Throwable) - Constructor for exception class org.tentackle.session.ConstraintException
Constructs a new database constraint exception without a session with the specified detail message and cause.
ConstraintException(Identifiable) - Constructor for exception class org.tentackle.session.ConstraintException
Constructs a new database constraint violation exception for a given pc object with null as its detail message.
ConstraintException(Identifiable, String) - Constructor for exception class org.tentackle.session.ConstraintException
Constructs a new database constraint violation exception for a given session with the specified detail message.
ConstraintException(Identifiable, String, Throwable) - Constructor for exception class org.tentackle.session.ConstraintException
Constructs a new database constraint violation exception for a given session with the specified detail message and cause.
ConstraintException(Identifiable, Throwable) - Constructor for exception class org.tentackle.session.ConstraintException
Constructs a new database constraint violation exception for a given session with the specified cause and a detail message of (cause==null ?
ConstraintException(Session) - Constructor for exception class org.tentackle.session.ConstraintException
Constructs a new database constraint violation exception for a given session with null as its detail message.
ConstraintException(Session, String) - Constructor for exception class org.tentackle.session.ConstraintException
Constructs a new database constraint violation exception for a given session with the specified detail message.
ConstraintException(Session, String, Throwable) - Constructor for exception class org.tentackle.session.ConstraintException
Constructs a new database constraint violation exception for a given session with the specified detail message and cause.
ConstraintException(Session, Throwable) - Constructor for exception class org.tentackle.session.ConstraintException
Constructs a new database constraint violation exception for a given session with the specified cause and a detail message of (cause==null ?
countModification(Session, String) - Method in interface org.tentackle.session.ModificationTracker
Counts the modification for a given name.
Used to trigger modification events.
create() - Method in class org.tentackle.session.DefaultSessionInfoFactory
 
create() - Method in interface org.tentackle.session.SessionFactory
Creates a session with the default session info.
create() - Method in interface org.tentackle.session.SessionInfoFactory
Creates a session info from the default properties holding the connection parameters.
create(String) - Method in class org.tentackle.session.DefaultSessionInfoFactory
 
create(String) - Method in interface org.tentackle.session.SessionInfoFactory
Creates a session info from a property file holding the connection parameters.
create(String, char[], String) - Method in class org.tentackle.session.DefaultSessionInfoFactory
 
create(String, char[], String) - Method in interface org.tentackle.session.SessionInfoFactory
Creates a session info from a username, password and property file holding the connection parameters.
create(String, Session, int, int, int, int, long, long) - Method in interface org.tentackle.session.SessionPoolFactory
Creates a single-user session pool.
create(String, Session, int, int, long, long) - Method in interface org.tentackle.session.SessionPoolFactory
Creates a multi-user session pool.
create(EncryptedProperties) - Method in class org.tentackle.session.DefaultSessionInfoFactory
 
create(EncryptedProperties) - Method in interface org.tentackle.session.SessionInfoFactory
Creates a session info from a properties object.
create(SessionInfo) - Method in interface org.tentackle.session.SessionFactory
Creates a session.
create(SessionPool, SessionInfo) - Method in interface org.tentackle.session.SessionFactory
Creates a session for a pool.
Notice that this method is provided for SessionPool implementations only.
createAliveCallable() - Method in class org.tentackle.session.SessionKeepAliveTask
Creates the alive callable.
createAliveTask(Session, long) - Method in class org.tentackle.session.SessionKeepAliveDaemon
Creates a keep alive task.
createCloseCallable() - Method in class org.tentackle.session.SessionKeepAliveTask
Creates the close callable.
createExecutorService() - Method in class org.tentackle.session.SessionKeepAliveDaemon
Creates the executor service.
createExecutorService() - Method in class org.tentackle.session.SessionPooledExecutor
Creates the executor service.
For unlimited session pools the thread pool will also be unlimited and the number of threads will be adjusted automatically, i.e. new threads are created when necessary (tasks are not queued) and unused threads are removed when no more used for a certain amount of time.
For limited session pools a fixed size thread pool is used and tasks queued, if all threads are in use.
createFromRemoteException(Object, RemoteException) - Static method in exception class org.tentackle.session.PersistenceException
Creates a RuntimeException from a RemoteException.
Returns the first RuntimeException in chain.
createFromRemoteException(Object, RemoteException) - Method in class org.tentackle.session.SessionUtilities
Creates a RuntimeException from a RemoteException.
Returns the first RuntimeException in chain.
createKeepAliveDaemon() - Method in class org.tentackle.session.SessionUtilities
Creates the session keep alive daemon.
createLazyExceptionMessage(String, Throwable, Identifiable, Session) - Method in class org.tentackle.session.SessionUtilities
Creates the lazy exception message for a PersistenceException.
createLock(Object) - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
 
createThread(Runnable) - Method in class org.tentackle.session.SessionPooledExecutor
Creates a new thread.
createThreadGroup() - Method in class org.tentackle.session.SessionPooledExecutor
Creates the thread group of the threads in the pool.

D

dataChanged(ModificationEvent) - Method in interface org.tentackle.session.ModificationListener
Invoked whenever an instance of given class has changed.
DEFAULT - Enum constant in enum class org.tentackle.session.TransactionIsolation
Default transaction isolation.
Usually READ_COMMITTED.
DEFAULT - Enum constant in enum class org.tentackle.session.TransactionWritability
Default transaction writability.
Usually READ_WRITE.
DefaultMasterSerialEventHandlerFactory - Class in org.tentackle.session
The default master serial event handler factory.
DefaultMasterSerialEventHandlerFactory() - Constructor for class org.tentackle.session.DefaultMasterSerialEventHandlerFactory
Creates the factory.
DefaultSessionInfo - Class in org.tentackle.session
The default implementation for a session info.
DefaultSessionInfo() - Constructor for class org.tentackle.session.DefaultSessionInfo
Creates a session info from the default properties file.
The property file's name is "backend".
DefaultSessionInfo(String) - Constructor for class org.tentackle.session.DefaultSessionInfo
Creates a session info from a property file holding the connection parameters.
DefaultSessionInfo(String, char[], String) - Constructor for class org.tentackle.session.DefaultSessionInfo
Creates a session info from an optional username, optional password and a property file holding the connection parameters.
DefaultSessionInfo(EncryptedProperties) - Constructor for class org.tentackle.session.DefaultSessionInfo
Creates a session from a properties object.
DefaultSessionInfoFactory - Class in org.tentackle.session
Default session info factory.
DefaultSessionInfoFactory() - Constructor for class org.tentackle.session.DefaultSessionInfoFactory
Creates the session info factory.
DefaultSessionTaskDispatcher - Class in org.tentackle.session
A thread executing tasks in a serialized manner on an exclusive connection.
DefaultSessionTaskDispatcher(String) - Constructor for class org.tentackle.session.DefaultSessionTaskDispatcher
Creates a dispatcher to be configured later.
DefaultSessionTaskDispatcher(String, Session, boolean, long, long) - Constructor for class org.tentackle.session.DefaultSessionTaskDispatcher
Creates an execution thread for a given session.
The session must not be used by any other thread!
determineClassId(Class<?>) - Method in class org.tentackle.session.SessionUtilities
Determines the classid from the @ClassId annotation.
determineTablename(Class<?>) - Method in class org.tentackle.session.SessionUtilities
Determines the tablename from the @TableName annotation.
DriverConfiguration - Class in org.tentackle.session
Configuration for a backend driver.
The configuration is stored via the standard Preferences and provides the parameters necessary to load the driver.
DriverConfiguration(String, String, String) - Constructor for class org.tentackle.session.DriverConfiguration
Creates a driver configuration.

E

equals(Object) - Method in class org.tentackle.session.BackendConfiguration
 
equals(Object) - Method in class org.tentackle.session.DefaultSessionInfo
Session infos are equal if their login credentials are equal.
equals(Object) - Method in class org.tentackle.session.DriverConfiguration
 
equals(Object) - Method in class org.tentackle.session.ModificationEventDetail
 
equals(Object) - Method in record class org.tentackle.session.SavepointHandle
Indicates whether some other object is "equal to" this one.
ExclusiveSessionProvider - Interface in org.tentackle.session
An exclusive session provider.
extractPersistenceException(Throwable) - Static method in exception class org.tentackle.session.PersistenceException
Extracts the PersistenceException from an exception.

G

get(SessionInfo) - Method in interface org.tentackle.session.MultiUserSessionPool
Gets a session from the pool for a given session info.
getApplication() - Method in class org.tentackle.session.BackendConfiguration
Gets the application name.
getApplicationId() - Method in class org.tentackle.session.DefaultSessionInfo
 
getApplicationId() - Method in interface org.tentackle.session.SessionInfo
Returns the application id.
getApplicationName() - Method in class org.tentackle.session.DefaultSessionInfo
 
getApplicationName() - Method in interface org.tentackle.session.SessionInfo
Gets the name of the application.
getBackendConfigurations(String, boolean) - Static method in class org.tentackle.session.BackendConfiguration
Loads all backend configurations for a given application.
getBundle() - Static method in class org.tentackle.session.SessionBundle
Gets the bundle.
getClassId(String) - Method in class org.tentackle.session.SessionUtilities
Gets the classid of a pdo class.
getClassName(int) - Method in class org.tentackle.session.SessionUtilities
Gets the classname for a classid.
getClassName(String) - Method in class org.tentackle.session.SessionUtilities
Gets the classname for tablename.
getClassNames() - Method in class org.tentackle.session.SessionUtilities
Gets a list of all class names.
Sorted by name.
getClientSessionInfo() - Method in interface org.tentackle.session.RemoteSession
Gets the client session info.
getClientVersion() - Method in class org.tentackle.session.DefaultSessionInfo
 
getClientVersion() - Method in interface org.tentackle.session.SessionInfo
Gets the client version.
getClientVersion() - Method in exception class org.tentackle.session.VersionIncompatibleException
Gets the client's version.
getCurrentSession() - Static method in interface org.tentackle.session.Session
Gets the session used by the current thread.
getDefault(String, boolean) - Static method in class org.tentackle.session.BackendConfiguration
Gets the default backend configuration.
getDefaultScopes() - Method in class org.tentackle.session.AbstractSessionConfiguration
 
getDetail(String) - Method in class org.tentackle.session.ModificationEvent
Gets the modification detail for a name.
getDetails() - Method in class org.tentackle.session.ModificationEvent
Gets the modification details.
getDispatcher() - Method in interface org.tentackle.session.Session
Gets the dispatcher for this session.
The dispatcher can be used to submit asynchronous tasks in a serial manner.
getDriver() - Method in class org.tentackle.session.BackendConfiguration
Gets the driver configuration.
getDriver() - Method in class org.tentackle.session.DriverConfiguration
Sets the driver's classname.
getDriverConfigurations(boolean) - Static method in class org.tentackle.session.DriverConfiguration
Loads all driver configurations.
getEventHandler(Class<T>) - Method in class org.tentackle.session.DefaultMasterSerialEventHandlerFactory
 
getEventHandler(Class<T>) - Method in interface org.tentackle.session.MasterSerialEventHandlerFactory
Gets the event handler for a master serial event class.
The handler is simply a Consumer of a MasterSerialEvent and must be stateless.
getExecutorService() - Method in class org.tentackle.session.SessionKeepAliveDaemon
Gets the executor service.
getExecutorService() - Method in class org.tentackle.session.SessionPooledExecutor
Gets the executor service.
getHandler(Class<T>) - Method in class org.tentackle.session.DefaultMasterSerialEventHandlerFactory
 
getHostInfo() - Method in class org.tentackle.session.DefaultSessionInfo
 
getHostInfo() - Method in interface org.tentackle.session.SessionInfo
Gets the host info.
getIdentifiable() - Method in exception class org.tentackle.session.PersistenceException
Gets the persistent object.
getImmutableLoggingLevel() - Method in class org.tentackle.session.DefaultSessionInfo
 
getInstance() - Static method in interface org.tentackle.session.MasterSerialEventHandlerFactory
The singleton.
getInstance() - Static method in interface org.tentackle.session.ModificationTracker
The tracker singleton.
getInstance() - Static method in interface org.tentackle.session.SessionFactory
The singleton.
getInstance() - Static method in interface org.tentackle.session.SessionInfoFactory
The singleton.
getInstance() - Static method in interface org.tentackle.session.SessionPoolFactory
The singleton.
getInstance() - Static method in class org.tentackle.session.SessionUtilities
The singleton.
getInstanceNumber() - Method in interface org.tentackle.session.Session
Gets the unique instance number of this Session.
getKeepAliveInterval() - Method in interface org.tentackle.session.Session
Gets the auto keep alive interval.
getLevel() - Method in enum class org.tentackle.session.TransactionIsolation
Gets the low-level isolation level constant.
getLocale() - Method in class org.tentackle.session.DefaultSessionInfo
 
getLocale() - Method in interface org.tentackle.session.SessionInfo
Gets the session's locale.
Returns the JVM's default locale if not set explicitly via SessionInfo.setLocale(java.util.Locale).
getLoginInfo() - Method in exception class org.tentackle.session.AlreadyLoggedInException
Gets the application session info.
getLogLevel() - Method in exception class org.tentackle.session.LoginFailedException
 
getMaxSize() - Method in interface org.tentackle.session.MultiUserSessionPool
Gets the maximum pool size per session info.
getMaxSize() - Method in interface org.tentackle.session.SessionPool
Gets the maximum pool size.
getMaxTotalSize() - Method in interface org.tentackle.session.MultiUserSessionPool
Gets the maximum pool size for all sessions.
getMessage() - Method in exception class org.tentackle.session.AlreadyLoggedInException
getMessage() - Method in exception class org.tentackle.session.PersistenceException
 
getName() - Method in class org.tentackle.session.AbstractSessionConfiguration
Gets the symbolic name.
getName() - Method in class org.tentackle.session.ModificationEvent
Gets the modification name of the first detail.
getName() - Method in class org.tentackle.session.ModificationEventDetail
Gets the modification name.
getName() - Method in interface org.tentackle.session.MultiUserSessionPool
Gets the name of this pool.
getName() - Method in interface org.tentackle.session.Session
Gets the session's name.
getName() - Method in interface org.tentackle.session.SessionPool
Gets the name of this pool.
getNames() - Method in interface org.tentackle.session.ModificationListener
Gets the names to listen to.
getNames() - Method in class org.tentackle.session.ModificationListenerAdapter
 
getOptions() - Method in class org.tentackle.session.BackendConfiguration
Gets other options.
Each option goes into a separate line.
getOsInfo() - Method in class org.tentackle.session.DefaultSessionInfo
 
getOsInfo() - Method in interface org.tentackle.session.SessionInfo
Gets the operating system info.
getOwnerThread() - Method in interface org.tentackle.session.Session
Gets the owner thread.
getPassword() - Method in class org.tentackle.session.BackendConfiguration
Gets the optional password.
getPassword() - Method in class org.tentackle.session.DefaultSessionInfo
 
getPassword() - Method in interface org.tentackle.session.SessionInfo
Gets the password.
getPersistedSerial() - Method in exception class org.tentackle.session.NotFoundException
Gets the effective serial of the object persisted in the database.
getPool() - Method in interface org.tentackle.session.Session
Gets the session pool.
getPrefNode(String, boolean) - Static method in class org.tentackle.session.AbstractSessionConfiguration
Gets the configuration parent node.
getPriority() - Method in interface org.tentackle.session.ModificationListener
Gets the execution priority.
Determines the order of execution.
getPriority() - Method in class org.tentackle.session.ModificationListenerAdapter
 
getProperties() - Method in class org.tentackle.session.DefaultSessionInfo
 
getProperties() - Method in interface org.tentackle.session.SessionInfo
Gets the connection properties.
The properties are not set so far, the method will load the properties file by adding the extension ".properties" to SessionInfo.getPropertiesName() (if it does not contain an extension already).
If there is no such file, the properties will be read as a resource according to the classpath.
If all fails a PersistenceException is thrown.
getPropertiesName() - Method in class org.tentackle.session.DefaultSessionInfo
 
getPropertiesName() - Method in interface org.tentackle.session.SessionInfo
Gets the name of the property file.
getProperty(String) - Method in interface org.tentackle.session.Session
Gets a session property.
getRemoteSession() - Method in interface org.tentackle.session.Session
Gets the remote session.
getRemoteSessionPool() - Method in interface org.tentackle.session.SessionPoolProvider
Gets the session pool for remote sessions.
getSerial() - Method in class org.tentackle.session.ModificationEvent
Gets the modification serial of the first detail or master.
getSerial() - Method in class org.tentackle.session.ModificationEventDetail
Gets the modification serial.
getSerial(Class<?>) - Method in interface org.tentackle.session.ModificationTracker
Gets the serial for a given class.
getSerial(String) - Method in interface org.tentackle.session.ModificationTracker
Gets the serial for a given modification name.
getServerVersion() - Method in exception class org.tentackle.session.VersionIncompatibleException
Gets the server's version.
getSession() - Method in class org.tentackle.session.AbstractSessionTask
Gets the db the runnable must use.
getSession() - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
 
getSession() - Method in class org.tentackle.session.ModificationEvent
Gets the session.
getSession() - Method in exception class org.tentackle.session.PersistenceException
Gets the session.
getSession() - Static method in interface org.tentackle.session.Session
Gets the thread-local session.
getSession() - Method in interface org.tentackle.session.SessionHolder
Gets the session.
The thread-local session is returned if the session is null.
getSession() - Method in interface org.tentackle.session.SessionProvider
Gets the session.
getSession() - Method in interface org.tentackle.session.SessionTaskDispatcher
Gets the session.
getSession() - Method in class org.tentackle.session.SessionTaskDispatcherLock
Gets the session associated to this lock.
getSession() - Method in class org.tentackle.session.ThreadLocalSessionHolder
 
getSessionGroupId() - Method in interface org.tentackle.session.Session
Gets the session's group ID.
The session group is unique for sessions with the same URL.
getSessionGroupId() - Method in interface org.tentackle.session.SessionPool
Gets the session group id.
getSessionId() - Method in interface org.tentackle.session.Session
Gets the session ID.
Session IDs are unique for sessions with the same URL.
For remote sessions, the ID is the same as the one used in remote server.
getSessionInfo() - Method in interface org.tentackle.session.Session
Gets the current session info.
getSessionInfo() - Method in interface org.tentackle.session.SessionHolder
Gets the session info associated to the session.
getSessionInfo() - Method in interface org.tentackle.session.SessionPool
Gets the session info.
getSessionInfo() - Method in class org.tentackle.session.ThreadLocalSessionHolder
 
getSessionInstanceNumber() - Method in interface org.tentackle.session.SessionHolder
Gets the unique instance number of the Session.
getSessionInstanceNumber() - Method in class org.tentackle.session.ThreadLocalSessionHolder
 
getSessionName() - Method in class org.tentackle.session.DefaultSessionInfo
 
getSessionName() - Method in interface org.tentackle.session.SessionInfo
Gets the optional session name.
getSessionPool() - Method in class org.tentackle.session.SessionPooledExecutor
Gets the session pool.
getSessionPool() - Method in interface org.tentackle.session.SessionPoolProvider
Gets the session pool for local sessions.
getSince() - Method in class org.tentackle.session.DefaultSessionInfo
 
getSince() - Method in interface org.tentackle.session.SessionInfo
Gets the epochal time since when logged in.
getSize() - Method in interface org.tentackle.session.MultiUserSessionPool
Gets the current number of session instances.
getSize() - Method in interface org.tentackle.session.SessionPool
Gets the current number of session instances.
getString(String) - Static method in class org.tentackle.session.SessionBundle
Gets a string for the given key.
getTableName(String) - Method in class org.tentackle.session.SessionUtilities
Gets the table name of a pdo class.
getTaskDispatcher() - Method in class org.tentackle.session.SessionTaskDispatcherLock
 
getThreadGroup() - Method in class org.tentackle.session.SessionPooledExecutor
Gets the thread group for the thread pool.
getThreadPoolSize() - Method in class org.tentackle.session.SessionPooledExecutor
Gets the size of the thread pool.
The default implementation returns the maximum size of the session pool.
If the session pool is unlimited, the thread pool will be unlimited too.
Override this method, if sizes differ.
Caution: using an unlimited or larger thread pool with a limited or smaller session pool will cause an exception when all sessions are in use!
getTimeDelay() - Method in interface org.tentackle.session.ModificationListener
Gets the optional delay to fire the event.
Allows to collect events for multiple names within an interval.
If both timeFrame and timeDelay are given, the delay is treated as an offset to the frame.
getTimeDelay() - Method in class org.tentackle.session.ModificationListenerAdapter
 
getTimeFrame() - Method in interface org.tentackle.session.ModificationListener
Gets the optional execution time frame in milliseconds.
If given, the listener will be executed at a random time within the time frame.
getTimeFrame() - Method in class org.tentackle.session.ModificationListenerAdapter
 
getTimeZone() - Method in class org.tentackle.session.DefaultSessionInfo
 
getTimeZone() - Method in interface org.tentackle.session.SessionInfo
Gets the timezone.
getTxName() - Method in interface org.tentackle.session.Session
Gets the transaction name if a tx is currently running.
getUrl() - Method in class org.tentackle.session.BackendConfiguration
Gets the host- or service url.
getUrl() - Method in class org.tentackle.session.DriverConfiguration
Gets the url to load the driver.
getUrl() - Method in interface org.tentackle.session.Session
Gets the connection url.
getUser() - Method in class org.tentackle.session.BackendConfiguration
Gets the optional username.
getUserClassId() - Method in class org.tentackle.session.DefaultSessionInfo
 
getUserClassId() - Method in interface org.tentackle.session.SessionInfo
Gets the class id of the current user.
getUserId() - Method in class org.tentackle.session.DefaultSessionInfo
 
getUserId() - Method in interface org.tentackle.session.SessionInfo
Gets the user id.
getUserName() - Method in class org.tentackle.session.DefaultSessionInfo
 
getUserName() - Method in interface org.tentackle.session.SessionInfo
Gets the username.
getVmInfo() - Method in class org.tentackle.session.DefaultSessionInfo
 
getVmInfo() - Method in interface org.tentackle.session.SessionInfo
Gets the info string describing the JVM.
getWritable() - Method in enum class org.tentackle.session.TransactionWritability
Gets the low-level writable boolean value.
groupWith(int) - Method in interface org.tentackle.session.Session
Assigns this session to another session building a session group.
If the referenced session already belongs to a group, this session will be added to that group.

H

hashCode() - Method in class org.tentackle.session.BackendConfiguration
 
hashCode() - Method in class org.tentackle.session.DefaultSessionInfo
 
hashCode() - Method in class org.tentackle.session.DriverConfiguration
 
hashCode() - Method in class org.tentackle.session.ModificationEventDetail
 
hashCode() - Method in record class org.tentackle.session.SavepointHandle
Returns a hash code value for this object.

I

id() - Method in record class org.tentackle.session.SavepointHandle
Returns the value of the id record component.
invalidate() - Method in interface org.tentackle.session.ModificationTracker
Invalidates the tracker.
Forces the tracking info to be rebuilt.
isAlive() - Method in interface org.tentackle.session.Session
Checks whether the session is still in use.
isCloned() - Method in class org.tentackle.session.DefaultSessionInfo
 
isCloned() - Method in interface org.tentackle.session.SessionInfo
Checks whether this session info is cloned.
isCurrent() - Method in interface org.tentackle.session.Session
Returns whether this session is the thread's local current session.
isFinallyImmutable() - Method in class org.tentackle.session.DefaultSessionInfo
 
isImmutable() - Method in class org.tentackle.session.DefaultSessionInfo
 
isLockLingerEnabled() - Method in class org.tentackle.session.DefaultSessionInfo
 
isLockLingerEnabled() - Method in interface org.tentackle.session.SessionInfo
Determines whether token-locks are removed when session is closed.
By default, locks are not removed for cloned sessions.
isMasterEvent() - Method in class org.tentackle.session.ModificationEvent
Returns whether this is a master event.
Master events provide no details.
isMultiEvent() - Method in class org.tentackle.session.ModificationEvent
Returns whether this a multi named event.
isMultiLineExceptionMessage(String, Throwable, Identifiable, Session) - Method in class org.tentackle.session.SessionUtilities
Returns whether the exception message spans multiple lines.
isOpen() - Method in interface org.tentackle.session.Session
Gets the session's state.
isOverridingEvent(MasterSerialEvent) - Method in interface org.tentackle.session.MasterSerialEvent
Returns whether this event is overriding given other event.
The method is only invoked if MasterSerialEvent.isOverridingOlderEvents() returns true.
isOverridingOlderEvents() - Method in interface org.tentackle.session.MasterSerialEvent
Returns whether only the latest event counts.
Useful for events, that contain status information or alike.
isPersisted() - Method in class org.tentackle.session.AbstractSessionConfiguration
Returns whether configuration is loaded from preferences.
isPooled() - Method in interface org.tentackle.session.Session
Checks whether this session is pooled.
isRemote() - Method in interface org.tentackle.session.Session
Gets the persistence locality of this session.
Sessions may refer to persistence layers not running in the current JVM.
isSessionClosedOnTermination() - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
 
isSessionClosedOnTermination() - Method in interface org.tentackle.session.SessionTaskDispatcher
Returns whether the session should be closed on termination.
isSessionImmutable() - Method in class org.tentackle.session.AbstractSessionTask
 
isSessionImmutable() - Method in interface org.tentackle.session.SessionDependable
Returns whether the session is immutable.
isSessionImmutable() - Method in interface org.tentackle.session.SessionHolder
Returns whether the session is immutable.
isSessionImmutable() - Method in class org.tentackle.session.ThreadLocalSessionHolder
 
isSessionKeptAlive() - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
 
isSessionKeptAlive() - Method in interface org.tentackle.session.SessionTaskDispatcher
Gets the keepalive flag.
isSessionThreadLocal() - Method in interface org.tentackle.session.SessionHolder
Returns whether the session is thread-local.
isSessionThreadLocal() - Method in class org.tentackle.session.ThreadLocalSessionHolder
 
isShutdown() - Method in interface org.tentackle.session.MultiUserSessionPool
Returns whether the pool is shutdown.
isShutdown() - Method in interface org.tentackle.session.SessionPool
Returns whether the pool is shutdown.
isSilentRollbackSufficient(Throwable) - Method in class org.tentackle.session.SessionUtilities
Returns whether a rollback should log all statements or not.
The rollback should not be logged, if the root-cause is not a PersistenceException, or TentackleRuntimeException.isTemporary() or there is another temporary exception in the exception chain.
isSingleEvent() - Method in class org.tentackle.session.ModificationEvent
Returns whether this is a named single event.
isSomeRemoved(long, List<IdSerialTuple>, long) - Method in class org.tentackle.session.SessionUtilities
Inspects an expiration set and determines whether at least one object has been removed.
isTxRunning() - Method in interface org.tentackle.session.Session
Determines whether a tx is currently running.

K

keepAliveIntervalChanged(Session) - Method in class org.tentackle.session.SessionKeepAliveDaemon
Handles the change of a keep alive interval of a session.
keepAliveIntervalChanged(Session) - Method in class org.tentackle.session.SessionUtilities
Handles the change of a keep alive interval of a session.

L

loadProperties(String) - Method in class org.tentackle.session.DefaultSessionInfo
Loads the properties.
log(String, Logger.Level, String) - Method in interface org.tentackle.session.RemoteSession
Logs a message at the server-side.
log(Logger.Level, String) - Method in interface org.tentackle.session.RemoteSession
Logs a message at the server-side.
Uses the static logger of the remote session implementation class.
LoginFailedException - Exception Class in org.tentackle.session
RMI servers should throw a LoginFailedException if authentication fails (or any other reason)
LoginFailedException() - Constructor for exception class org.tentackle.session.LoginFailedException
Constructs a new login failed exception without a session and with null as its detail message.
LoginFailedException(String) - Constructor for exception class org.tentackle.session.LoginFailedException
Constructs a new login failed exception without a session with the specified detail message.
LoginFailedException(String, Throwable) - Constructor for exception class org.tentackle.session.LoginFailedException
Constructs a new login failed exception without a session with the specified detail message and cause.
LoginFailedException(Identifiable) - Constructor for exception class org.tentackle.session.LoginFailedException
Constructs a new login failed exception for a given identifiable.
LoginFailedException(Identifiable, String) - Constructor for exception class org.tentackle.session.LoginFailedException
Constructs a new login failed exception for a given session with the specified detail message.
LoginFailedException(Identifiable, String, Throwable) - Constructor for exception class org.tentackle.session.LoginFailedException
Constructs a new login failed exception for a given session with the specified detail message and cause.
LoginFailedException(Identifiable, Throwable) - Constructor for exception class org.tentackle.session.LoginFailedException
Constructs a new login failed exception for a given session with the specified cause and a detail message of (cause==null ?
LoginFailedException(Session) - Constructor for exception class org.tentackle.session.LoginFailedException
Constructs a new login failed exception for a given session with null as its detail message.
LoginFailedException(Session, String) - Constructor for exception class org.tentackle.session.LoginFailedException
Constructs a new login failed exception for a given session with the specified detail message.
LoginFailedException(Session, String, Throwable) - Constructor for exception class org.tentackle.session.LoginFailedException
Constructs a new login failed exception for a given session with the specified detail message and cause.
LoginFailedException(Session, Throwable) - Constructor for exception class org.tentackle.session.LoginFailedException
Constructs a new login failed exception for a given session with the specified cause and a detail message of (cause==null ?
logStatistics(Logger.Level, boolean) - Method in interface org.tentackle.session.RemoteSession
Logs the RMI-statistics at the server-side.
Uses the static logger of the remote session implementation class.

M

makeCurrent() - Method in interface org.tentackle.session.Session
Makes this session the current session for this thread.
mapSchema() - Element in annotation interface org.tentackle.session.TableName
Determines whether schemas are allowed or mapped to simple table names.
If true, tablenames like "md.blah" are mapped to "md_blah".
MasterSerial - Interface in org.tentackle.session
Wraps the master serial used by the ModificationTracker.
The tracker of a remote client periodically requests the master serial from the server.
MasterSerialEvent - Interface in org.tentackle.session
Interface for a master serial event.
Such events can be sent from the server to the client via the ModificationTracker.
MasterSerialEventHandlerFactory - Interface in org.tentackle.session
Factory for MasterSerialEvent-handlers.
MasterSerialEventService - Annotation Interface in org.tentackle.session
 
MasterSerialListEvent - Class in org.tentackle.session
A master serial event containing a list of events.
This event type is used, whenever there is more than one event pending for the client.
MasterSerialListEvent() - Constructor for class org.tentackle.session.MasterSerialListEvent
Creates an empty list event.
MasterSerialListEvent(Collection<MasterSerialEvent>) - Constructor for class org.tentackle.session.MasterSerialListEvent
Creates a list event.
ModificationEvent - Class in org.tentackle.session
Modification event.
ModificationEvent(Session, long) - Constructor for class org.tentackle.session.ModificationEvent
Creates a modification master event.
ModificationEvent(Session, Collection<ModificationEventDetail>) - Constructor for class org.tentackle.session.ModificationEvent
Creates a modification event.
ModificationEventDetail - Class in org.tentackle.session
Holds the event detail.
ModificationEventDetail(String, long) - Constructor for class org.tentackle.session.ModificationEventDetail
Creates an event detail.
ModificationListener - Interface in org.tentackle.session
Listener for modifications.
ModificationListenerAdapter - Class in org.tentackle.session
A modification listener adapter.
ModificationListenerAdapter() - Constructor for class org.tentackle.session.ModificationListenerAdapter
Creates a listener for any modification.
ModificationListenerAdapter(String...) - Constructor for class org.tentackle.session.ModificationListenerAdapter
Creates a listener for the given modification names.
ModificationTracker - Interface in org.tentackle.session
Tracks global PDO changes.
MultiUserSessionPool - Interface in org.tentackle.session
A pool of sessions for multiple session infos.
Allows different users to use multiple sessions in parallel.

N

name() - Method in record class org.tentackle.session.SavepointHandle
Returns the value of the name record component.
NONE - Enum constant in enum class org.tentackle.session.TransactionIsolation
Transactions are not supported at all.
NotFoundException - Exception Class in org.tentackle.session
Runtime exception thrown if objects that should exist are not found in the database.
NotFoundException() - Constructor for exception class org.tentackle.session.NotFoundException
Constructs a new database object not found exception without a session and with null as its detail message.
NotFoundException(String) - Constructor for exception class org.tentackle.session.NotFoundException
Constructs a new database object not found exception without a session with the specified detail message.
NotFoundException(String, Throwable) - Constructor for exception class org.tentackle.session.NotFoundException
Constructs a new database object not found exception without a session with the specified detail message and cause.
NotFoundException(Identifiable) - Constructor for exception class org.tentackle.session.NotFoundException
Constructs a new database object not found exception for a given pc object with null as its detail message.
NotFoundException(Identifiable, String) - Constructor for exception class org.tentackle.session.NotFoundException
Constructs a new database object not found exception for a given session with the specified detail message.
NotFoundException(Identifiable, String, long) - Constructor for exception class org.tentackle.session.NotFoundException
Constructs a new database object not found exception for a given session with the specified detail message.
NotFoundException(Identifiable, String, Throwable) - Constructor for exception class org.tentackle.session.NotFoundException
Constructs a new database object not found exception for a given session with the specified detail message and cause.
NotFoundException(Identifiable, Throwable) - Constructor for exception class org.tentackle.session.NotFoundException
Constructs a new database object not found exception for a given session with the specified cause and a detail message of (cause==null ?
NotFoundException(Session) - Constructor for exception class org.tentackle.session.NotFoundException
Constructs a new database object not found exception for a given session with null as its detail message.
NotFoundException(Session, String) - Constructor for exception class org.tentackle.session.NotFoundException
Constructs a new database object not found exception for a given session with the specified detail message.
NotFoundException(Session, String, Throwable) - Constructor for exception class org.tentackle.session.NotFoundException
Constructs a new database object not found exception for a given session with the specified detail message and cause.
NotFoundException(Session, Throwable) - Constructor for exception class org.tentackle.session.NotFoundException
Constructs a new database object not found exception for a given session with the specified cause and a detail message of (cause==null ?
NotRemovableException - Exception Class in org.tentackle.session
Runtime exception thrown for not-removables.
NotRemovableException() - Constructor for exception class org.tentackle.session.NotRemovableException
Constructs a new database constraint exception without a session and with null as its detail message.
NotRemovableException(String) - Constructor for exception class org.tentackle.session.NotRemovableException
Constructs a new database constraint exception without a session with the specified detail message.
NotRemovableException(String, Throwable) - Constructor for exception class org.tentackle.session.NotRemovableException
Constructs a new database constraint exception without a session with the specified detail message and cause.
NotRemovableException(Identifiable) - Constructor for exception class org.tentackle.session.NotRemovableException
Constructs a new not-removable exception for a given pc object with null as its detail message.
NotRemovableException(Identifiable, String) - Constructor for exception class org.tentackle.session.NotRemovableException
Constructs a new not-removable exception for a given session with the specified detail message.
NotRemovableException(Identifiable, String, Throwable) - Constructor for exception class org.tentackle.session.NotRemovableException
Constructs a new not-removable exception for a given session with the specified detail message and cause.
NotRemovableException(Identifiable, Throwable) - Constructor for exception class org.tentackle.session.NotRemovableException
Constructs a new not-removable exception for a given session with the specified cause and a detail message of (cause==null ?
NotRemovableException(Session) - Constructor for exception class org.tentackle.session.NotRemovableException
Constructs a new not-removable exception for a given session with null as its detail message.
NotRemovableException(Session, String) - Constructor for exception class org.tentackle.session.NotRemovableException
Constructs a new not-removable exception for a given session with the specified detail message.
NotRemovableException(Session, String, Throwable) - Constructor for exception class org.tentackle.session.NotRemovableException
Constructs a new not-removable exception for a given session with the specified detail message and cause.
NotRemovableException(Session, Throwable) - Constructor for exception class org.tentackle.session.NotRemovableException
Constructs a new not-removable exception for a given session with the specified cause and a detail message of (cause==null ?

O

ordinal() - Element in annotation interface org.tentackle.session.Persistent
Gets the ordinal according to the model.
Used to order the attributes and relations when analyzed via reflection.
org.tentackle.session - module org.tentackle.session
tentackle-session module.
org.tentackle.session - package org.tentackle.session
The low-level core of sessions, persistent objects and operations.

P

parent() - Element in annotation interface org.tentackle.session.Persistent
Returns whether this is the relation to the parent PDO.
The parent PDO provides a composite relation to this PDO.
persist(boolean) - Method in class org.tentackle.session.BackendConfiguration
Persists this configuration.
persist(boolean) - Method in class org.tentackle.session.DriverConfiguration
Persists this configuration.
PersistenceException - Exception Class in org.tentackle.session
Database runtime exception.
PersistenceException() - Constructor for exception class org.tentackle.session.PersistenceException
Constructs a new database runtime exception without a session or identifiable and with null as its detail message.
PersistenceException(String) - Constructor for exception class org.tentackle.session.PersistenceException
Constructs a new database runtime exception without a session or identifiable for the specified detail message.
PersistenceException(String, Throwable) - Constructor for exception class org.tentackle.session.PersistenceException
Constructs a new database runtime exception without a session or identifiable with the specified detail message and cause.
PersistenceException(Throwable) - Constructor for exception class org.tentackle.session.PersistenceException
Constructs a new database runtime exception without a session or identifiable with the specified cause and a detail message of (cause==null ?
PersistenceException(Identifiable) - Constructor for exception class org.tentackle.session.PersistenceException
Constructs a new database runtime exception for a given identifiable with null as its detail message.
PersistenceException(Identifiable, String) - Constructor for exception class org.tentackle.session.PersistenceException
Constructs a new database runtime exception for a given identifiable with the specified detail message.
PersistenceException(Identifiable, String, Throwable) - Constructor for exception class org.tentackle.session.PersistenceException
Constructs a new database runtime exception for a given identifiable with the specified detail message and cause.
PersistenceException(Identifiable, Throwable) - Constructor for exception class org.tentackle.session.PersistenceException
Constructs a new database runtime exception for a given identifiable with the specified cause and a detail message of (cause==null ?
PersistenceException(Session) - Constructor for exception class org.tentackle.session.PersistenceException
Constructs a new database runtime exception for a given session with null as its detail message.
PersistenceException(Session, String) - Constructor for exception class org.tentackle.session.PersistenceException
Constructs a new database runtime exception for a given session with the specified detail message.
PersistenceException(Session, String, Throwable) - Constructor for exception class org.tentackle.session.PersistenceException
Constructs a new database runtime exception for a given session with the specified detail message and cause.
PersistenceException(Session, Throwable) - Constructor for exception class org.tentackle.session.PersistenceException
Constructs a new database runtime exception for a given session with the specified cause and a detail message of (cause==null ?
Persistent - Annotation Interface in org.tentackle.session
Persistent fields and methods are annotated with this annotation.
postCommit(Consumer<Session>) - Method in interface org.tentackle.session.Session
Registers a post commit.
Post commits are invoked after the successful physical commit of a transaction.
prefix() - Element in annotation interface org.tentackle.session.TableName
Adds a prefix to the tablename or schema.
put(Session) - Method in interface org.tentackle.session.MultiUserSessionPool
Returns a session back to the pool.
Returning a closed session will remove it from the pool.
putSession(Session) - Method in interface org.tentackle.session.ReturnableSessionProvider
Returns a session to the provider.

R

READ_COMMITTED - Enum constant in enum class org.tentackle.session.TransactionIsolation
Dirty reads are prevented, non-repeatable reads and phantom reads can occur.
READ_ONLY - Enum constant in enum class org.tentackle.session.TransactionWritability
Read-only transaction.
READ_UNCOMMITTED - Enum constant in enum class org.tentackle.session.TransactionIsolation
Dirty reads, non-repeatable reads and phantom reads can occur.
READ_WRITE - Enum constant in enum class org.tentackle.session.TransactionWritability
Read-write transaction.
registerCloseHandler(SessionCloseHandler) - Method in interface org.tentackle.session.Session
Registers a close handler.
registerGlobalCloseHandler(SessionCloseHandler) - Method in interface org.tentackle.session.SessionFactory
Registers a global close handler for all sessions.
releaseSavepoint(SavepointHandle) - Method in interface org.tentackle.session.Session
Removes the specified Savepoint and subsequent Savepoint objects from the current transaction.
releaseSession(Session) - Method in interface org.tentackle.session.ExclusiveSessionProvider
Releases the session.
RemoteSession - Interface in org.tentackle.session
The remote session.
Provides access to the remote (server-side) client session.
remove(boolean) - Method in class org.tentackle.session.BackendConfiguration
Removes this configuration.
remove(boolean) - Method in class org.tentackle.session.DriverConfiguration
Removes this configuration.
removeAliveTask(Session) - Method in class org.tentackle.session.SessionKeepAliveDaemon
Removes the task for given session.
removeBackendConfigurations(String, boolean) - Static method in class org.tentackle.session.BackendConfiguration
Removes all backend configurations for given application.
removeDriverConfigurations(boolean) - Static method in class org.tentackle.session.DriverConfiguration
Removes all driver configurations.
removeModificationListener(ModificationListener) - Method in interface org.tentackle.session.ModificationTracker
Removes a modification listener.
removeShutdownRunnable(Runnable) - Method in interface org.tentackle.session.ModificationTracker
Unregisters a shutdown runnable.
reOpen() - Method in interface org.tentackle.session.Session
Re-opens a session.
If the session is open, it will be closed first.
If the session belongs to a group, the re-opened session will be grouped as well.
REPEATABLE_READ - Enum constant in enum class org.tentackle.session.TransactionIsolation
Dirty reads and non-repeatable reads are prevented, phantom reads can occur.
requestSession() - Method in interface org.tentackle.session.ExclusiveSessionProvider
Requests a session for exclusive use.
ReturnableSessionProvider - Interface in org.tentackle.session
Returnable session provider.
rollback(long) - Method in interface org.tentackle.session.Session
Rolls back a transaction if the corresponding Session.begin() has started it.
The rollback is logged as INFO along with all statements.
rollback(SavepointHandle) - Method in interface org.tentackle.session.Session
Undoes all changes made after the given Savepoint object was set.
rollbackSilently(long) - Method in interface org.tentackle.session.Session
Rolls back a transaction if the corresponding Session.begin() has started it.
Same as Session.rollback(long) but without logging.
run() - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
run() - Method in class org.tentackle.session.SessionKeepAliveDaemon
 
run() - Method in class org.tentackle.session.SessionKeepAliveTask
 

S

SavepointHandle - Record Class in org.tentackle.session
A savepoint handle.
SavepointHandle(int) - Constructor for record class org.tentackle.session.SavepointHandle
Creates a handle for an unnamed savepoint.
SavepointHandle(String) - Constructor for record class org.tentackle.session.SavepointHandle
Creates a handle for a named savepoint.
SavepointHandle(String, Integer) - Constructor for record class org.tentackle.session.SavepointHandle
Creates an instance of a SavepointHandle record class.
serial() - Method in interface org.tentackle.session.MasterSerial
Gets the serial value.
serial() - Method in class org.tentackle.session.MasterSerialListEvent
 
SERIALIZABLE - Enum constant in enum class org.tentackle.session.TransactionIsolation
Dirty reads, non-repeatable reads and phantom reads are prevented.
Session - Interface in org.tentackle.session
The session.
Describes a persistence and security context.
SessionBundle - Class in org.tentackle.session
Bundle for the session module.
SessionClosedException - Exception Class in org.tentackle.session
Runtime exception thrown if the session is already closed.
SessionClosedException() - Constructor for exception class org.tentackle.session.SessionClosedException
Constructs a new database session closed exception without a session and with null as its detail message.
SessionClosedException(String) - Constructor for exception class org.tentackle.session.SessionClosedException
Constructs a new database session closed exception without a session with the specified detail message.
SessionClosedException(String, Throwable) - Constructor for exception class org.tentackle.session.SessionClosedException
Constructs a new database session closed exception without a session with the specified detail message and cause.
SessionClosedException(Identifiable) - Constructor for exception class org.tentackle.session.SessionClosedException
Constructs a new database session closed exception for a given pc object with null as its detail message.
SessionClosedException(Identifiable, String) - Constructor for exception class org.tentackle.session.SessionClosedException
Constructs a new database session closed exception for a given session with the specified detail message.
SessionClosedException(Identifiable, String, Throwable) - Constructor for exception class org.tentackle.session.SessionClosedException
Constructs a new database session closed exception for a given session with the specified detail message and cause.
SessionClosedException(Identifiable, Throwable) - Constructor for exception class org.tentackle.session.SessionClosedException
Constructs a new database session closed exception for a given session with the specified cause and a detail message of (cause==null ?
SessionClosedException(Session) - Constructor for exception class org.tentackle.session.SessionClosedException
Constructs a new database session closed exception for a given session with null as its detail message.
SessionClosedException(Session, String) - Constructor for exception class org.tentackle.session.SessionClosedException
Constructs a new database session closed exception for a given session with the specified detail message.
SessionClosedException(Session, String, Throwable) - Constructor for exception class org.tentackle.session.SessionClosedException
Constructs a new database session closed exception for a given session with the specified detail message and cause.
SessionClosedException(Session, Throwable) - Constructor for exception class org.tentackle.session.SessionClosedException
Constructs a new database session closed exception for a given session with the specified cause and a detail message of (cause==null ?
SessionCloseHandler - Interface in org.tentackle.session
A handler invoked whenever a Session is closed.
SessionDependable - Interface in org.tentackle.session
Interface for objects depending on sessions.
SessionFactory - Interface in org.tentackle.session
Factory for Sessions.
SessionHolder - Interface in org.tentackle.session
Holder for a session.
SessionInfo - Interface in org.tentackle.session
Session information.
SessionInfoFactory - Interface in org.tentackle.session
Factory for SessionInfo.
SessionKeepAliveDaemon - Class in org.tentackle.session
A task dispatcher to keep sessions alive.
SessionKeepAliveDaemon(long) - Constructor for class org.tentackle.session.SessionKeepAliveDaemon
Creates the daemon.
SessionKeepAliveTask - Class in org.tentackle.session
The task to keep a session alive.
The task uses the ExecutorService to spawn asynchronous pings.
SessionKeepAliveTask(SessionKeepAliveDaemon, Session, long, long) - Constructor for class org.tentackle.session.SessionKeepAliveTask
Creates a keep alive task.
SessionPool - Interface in org.tentackle.session
A pool of sessions for a given session info.
Allows a single user to use multiple sessions in parallel.
SessionPooledExecutor - Class in org.tentackle.session
Executes runnables on a pool of sessions.
Useful to run background tasks in parallel, each task with its own session.
SessionPooledExecutor(SessionPool) - Constructor for class org.tentackle.session.SessionPooledExecutor
Creates the executor service for a session pool.
SessionPoolFactory - Interface in org.tentackle.session
Factory for session pools.
SessionPoolProvider - Interface in org.tentackle.session
Provider for local or remote session pools.
SessionProvider - Interface in org.tentackle.session
Session provider.
SessionTaskDispatcher - Interface in org.tentackle.session
A TaskDispatcher using a Session.
SessionTaskDispatcherLock - Class in org.tentackle.session
Lock for the DefaultSessionTaskDispatcher.
SessionTaskDispatcherLock(DefaultSessionTaskDispatcher, Object) - Constructor for class org.tentackle.session.SessionTaskDispatcherLock
Creates a dispatcher lock.
SessionUtilities - Class in org.tentackle.session
Utility methods for session related stuff.
SessionUtilities() - Constructor for class org.tentackle.session.SessionUtilities
Creates a utility instance.
SessionValidationUtilities - Class in org.tentackle.session
Extended validation utilities.
Honors the field- and method-order by using the ordinal of the Persistent-annotation, which is generated according to the model's definition.
As a result, the validators are invoked by priority + position in the source code.
SessionValidationUtilities() - Constructor for class org.tentackle.session.SessionValidationUtilities
Creates the validation utilities.
setAlive(boolean) - Method in interface org.tentackle.session.Session
Sets the session's alive state.
setApplication(String) - Method in class org.tentackle.session.BackendConfiguration
Sets the application name.
setApplicationId(long) - Method in class org.tentackle.session.DefaultSessionInfo
 
setApplicationId(long) - Method in interface org.tentackle.session.SessionInfo
Sets the application id.
Should be unique among the same application name.
setApplicationName(String) - Method in class org.tentackle.session.DefaultSessionInfo
 
setApplicationName(String) - Method in interface org.tentackle.session.SessionInfo
Sets the name of the application.
setClientVersion(String) - Method in class org.tentackle.session.DefaultSessionInfo
 
setClientVersion(String) - Method in interface org.tentackle.session.SessionInfo
Sets the client's version.
setCurrentSession(Session) - Static method in interface org.tentackle.session.Session
Sets the session used by the current thread.
The session is stored as ThreadLocal.
setDefault(BackendConfiguration, String, boolean) - Static method in class org.tentackle.session.BackendConfiguration
Sets the default backend configuration.
setDriver(String) - Method in class org.tentackle.session.DriverConfiguration
Gets the driver's classname.
setDriver(DriverConfiguration) - Method in class org.tentackle.session.BackendConfiguration
Sets the driver configuration.
setFinallyImmutable() - Method in class org.tentackle.session.DefaultSessionInfo
 
setHostInfo(String) - Method in class org.tentackle.session.DefaultSessionInfo
 
setHostInfo(String) - Method in interface org.tentackle.session.SessionInfo
Sets the host info.
setImmutable(boolean) - Method in class org.tentackle.session.DefaultSessionInfo
 
setImmutableLoggingLevel(Logger.Level) - Method in class org.tentackle.session.DefaultSessionInfo
 
setKeepAliveInterval(long) - Method in interface org.tentackle.session.Session
Sets the auto keep alive interval.
If set, the session will be setAlive every keepAliveInterval milliseconds by the SessionKeepAliveDaemon.
setLocale(Locale) - Method in class org.tentackle.session.DefaultSessionInfo
 
setLocale(Locale) - Method in interface org.tentackle.session.SessionInfo
Sets the session's locale.
setLockLingerEnabled(boolean) - Method in class org.tentackle.session.DefaultSessionInfo
 
setLockLingerEnabled(boolean) - Method in interface org.tentackle.session.SessionInfo
Sets whether token-locks are removed when session is closed.
setName(String) - Method in class org.tentackle.session.AbstractSessionConfiguration
Sets the symbolic name.
setOptions(String) - Method in class org.tentackle.session.BackendConfiguration
Sets the options.
setOsInfo(String) - Method in class org.tentackle.session.DefaultSessionInfo
 
setOsInfo(String) - Method in interface org.tentackle.session.SessionInfo
Sets the operating system info.
setOwnerThread(Thread) - Method in interface org.tentackle.session.Session
Sets the exclusive owner thread.
setPassword(char[]) - Method in class org.tentackle.session.DefaultSessionInfo
 
setPassword(char[]) - Method in interface org.tentackle.session.SessionInfo
Sets the password.
setPassword(String) - Method in class org.tentackle.session.BackendConfiguration
Sets the password.
setPersisted(boolean) - Method in class org.tentackle.session.AbstractSessionConfiguration
Sets whether configuration is loaded from preferences.
setProperties(EncryptedProperties) - Method in class org.tentackle.session.DefaultSessionInfo
 
setProperties(EncryptedProperties) - Method in interface org.tentackle.session.SessionInfo
Sets the connection properties.
setPropertiesName(String) - Method in class org.tentackle.session.DefaultSessionInfo
 
setPropertiesName(String) - Method in interface org.tentackle.session.SessionInfo
Sets the name of the property file.
(without the extension .properties)
setProperty(String, T) - Method in interface org.tentackle.session.Session
Sets a session property.
Session properties are application specific.
For remote sessions, the properties are delegated to the corresponding local session at the remote side.
setSavepoint() - Method in interface org.tentackle.session.Session
Creates an unnamed savepoint in the current transaction.
setSavepoint(String) - Method in interface org.tentackle.session.Session
Creates a savepoint with the given name in the current transaction.
setSerial(long) - Method in interface org.tentackle.session.MasterSerialEvent
Sets the serial value.
setSerial(long) - Method in class org.tentackle.session.MasterSerialListEvent
 
setSession(Session) - Method in class org.tentackle.session.AbstractSessionTask
Sets the db.
Done by SessionTaskDispatcher.
setSession(Session) - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
 
setSession(Session) - Method in interface org.tentackle.session.SessionDependable
Sets the logical session for this object.
setSession(Session) - Method in interface org.tentackle.session.SessionHolder
Sets the session.
setSession(Session) - Method in interface org.tentackle.session.SessionTaskDispatcher
Sets the session.
setSession(Session) - Method in class org.tentackle.session.ThreadLocalSessionHolder
 
setSessionClosedOnTermination(boolean) - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
 
setSessionClosedOnTermination(boolean) - Method in interface org.tentackle.session.SessionTaskDispatcher
Sets whether the session should be closed on termination.
setSessionImmutable(boolean) - Method in class org.tentackle.session.AbstractSessionTask
 
setSessionImmutable(boolean) - Method in interface org.tentackle.session.SessionDependable
Sets the session to immutable.
setSessionImmutable(boolean) - Method in interface org.tentackle.session.SessionHolder
Sets the session to immutable.
setSessionImmutable(boolean) - Method in class org.tentackle.session.ThreadLocalSessionHolder
 
setSessionKeptAlive(boolean) - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
 
setSessionKeptAlive(boolean) - Method in interface org.tentackle.session.SessionTaskDispatcher
Sets the keepalive flag.
If set, setAlive() will be invoked periodically to keep the session alive.
setSessionName(String) - Method in class org.tentackle.session.DefaultSessionInfo
 
setSessionName(String) - Method in interface org.tentackle.session.SessionInfo
Sets an optional session name.
May be used to describe the purpose of the session.
setSince(long) - Method in class org.tentackle.session.DefaultSessionInfo
 
setSince(long) - Method in interface org.tentackle.session.SessionInfo
Sets the epochal time since when logged in.
setTimeZone(TimeZone) - Method in class org.tentackle.session.DefaultSessionInfo
 
setTimeZone(TimeZone) - Method in interface org.tentackle.session.SessionInfo
Sets the timezone.
setUrl(String) - Method in class org.tentackle.session.BackendConfiguration
Sets the host- or service url.
setUrl(String) - Method in class org.tentackle.session.DriverConfiguration
Sets the url to load the driver.
setUser(String) - Method in class org.tentackle.session.BackendConfiguration
Gets the username.
setUserClassId(int) - Method in class org.tentackle.session.DefaultSessionInfo
 
setUserClassId(int) - Method in interface org.tentackle.session.SessionInfo
Sets the class id of the current user.
setUserId(long) - Method in class org.tentackle.session.DefaultSessionInfo
 
setUserId(long) - Method in interface org.tentackle.session.SessionInfo
Sets the user id.
setUserName(String) - Method in class org.tentackle.session.DefaultSessionInfo
 
setUserName(String) - Method in interface org.tentackle.session.SessionInfo
Sets the username.
setVmInfo(String) - Method in class org.tentackle.session.DefaultSessionInfo
 
setVmInfo(String) - Method in interface org.tentackle.session.SessionInfo
Sets the info string describing the JVM.
shutdown() - Method in interface org.tentackle.session.MultiUserSessionPool
Closes all sessions in the pool, cleans up and makes the pool unusable.
shutdown() - Method in interface org.tentackle.session.SessionPool
Closes all sessions in the pool, cleans up and makes the pool unusable.
shutdown() - Method in class org.tentackle.session.SessionPooledExecutor
Shuts down the executor service and the pool.
sortValidators(List<Validator>) - Method in class org.tentackle.session.SessionValidationUtilities
 
startKeepAliveDaemonIfNotRunning() - Method in class org.tentackle.session.SessionUtilities
Starts the keep alive thread if not already running.
submit(Runnable) - Static method in interface org.tentackle.session.ModificationTracker
Submits a task invoking given runnable.
submit(Collection<Supplier<V>>, long, Consumer<Map<Supplier<V>, V>>, Consumer<Map<Supplier<V>, RuntimeException>>) - Method in class org.tentackle.session.SessionPooledExecutor
Submits a collection of tasks for background execution in multiple threads of a thread pool and waits for their termination.
If there are failures, the fail handler (if any) will be invoked before the success handler.
submit(Supplier<V>, Consumer<V>, Consumer<RuntimeException>) - Method in class org.tentackle.session.SessionPooledExecutor
Submits a task for execution in background by a thread pool.

T

TableName - Annotation Interface in org.tentackle.session
Annotation for the tablename of a PDO.
terminateHelperThreads() - Method in class org.tentackle.session.SessionUtilities
Stops all helper threads.
ThreadLocalSessionHolder - Class in org.tentackle.session
A session holder returning the thread-local session.
Nice if no domain context available, e.g. for low-level AbstractDbObjects.
ThreadLocalSessionHolder() - Constructor for class org.tentackle.session.ThreadLocalSessionHolder
Creates a thread-local session holder.
toString() - Method in class org.tentackle.session.AbstractSessionConfiguration
 
toString() - Method in class org.tentackle.session.DefaultSessionInfo
 
toString() - Method in class org.tentackle.session.ModificationEvent
 
toString() - Method in class org.tentackle.session.ModificationEventDetail
 
toString() - Method in record class org.tentackle.session.SavepointHandle
Returns a string representation of this record class.
toString() - Method in class org.tentackle.session.SessionKeepAliveTask
 
transaction(Runnable) - Static method in interface org.tentackle.session.ModificationTracker
Submits a session task invoking the given runnable within a transaction of the tracker's session.
transaction(String, Runnable) - Static method in interface org.tentackle.session.ModificationTracker
Submits a session task invoking the given runnable within a transaction of the tracker's session.
transaction(String, Provider<T, E>) - Method in interface org.tentackle.session.Session
Runs code within a transaction.
transaction(Provider<T, E>) - Method in interface org.tentackle.session.Session
Runs code within a transaction.
The transaction name is derived from the enclosing method.
TransactionIsolation - Enum Class in org.tentackle.session
Enum that maps the low-level integer constants of the transaction isolation levels in java.sql.Connection.
TransactionWritability - Enum Class in org.tentackle.session
Enum for read-write or read-only transactions.

U

unlockInternal(long) - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
unregisterCloseHandler(SessionCloseHandler) - Method in interface org.tentackle.session.Session
Unregisters a close handler.
unregisterGlobalCloseHandler(SessionCloseHandler) - Method in interface org.tentackle.session.SessionFactory
Unregisters a global close handler for all sessions.
updateDbObject(Identifiable) - Method in exception class org.tentackle.session.PersistenceException
Updates the pdo if not set so far.
Used to add more info for exceptions thrown in a context where the pdo isn't known.

V

value() - Element in annotation interface org.tentackle.session.ClassId
Determines the class ID.
value() - Element in annotation interface org.tentackle.session.MasterSerialEventService
Determines the serviced event class.
value() - Element in annotation interface org.tentackle.session.TableName
Determines the tablename.
valueOf(int) - Static method in enum class org.tentackle.session.TransactionIsolation
Derives the transaction isolation enum from the low-level constant integer.
valueOf(Boolean) - Static method in enum class org.tentackle.session.TransactionWritability
Derives the transaction writability enum from the low-level boolean.
valueOf(String) - Static method in enum class org.tentackle.session.TransactionIsolation
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.tentackle.session.TransactionWritability
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.tentackle.session.TransactionIsolation
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.tentackle.session.TransactionWritability
Returns an array containing the constants of this enum class, in the order they are declared.
VersionIncompatibleException - Exception Class in org.tentackle.session
Exception thrown if client's and server's versions don't match.
VersionIncompatibleException(String, String, String) - Constructor for exception class org.tentackle.session.VersionIncompatibleException
Creates a version incompatible exception.
A B C D E G H I K L M N O P R S T U V 
All Classes and Interfaces|All Packages|Serialized Form