- checkServerVersionInfo(Serializable) - Method in class org.tentackle.session.DefaultSessionInfo
-
Checks the version information (of the server).
- checkServerVersionInfo(Serializable) - Method in interface org.tentackle.session.SessionInfo
-
Checks the version information (of the server).
- ClassId - Annotation Type 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
-
Cleares the cloned flag.
- clearCloned() - Method in interface org.tentackle.session.SessionInfo
-
Cleares the cloned flag.
- 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
-
Clears the password.
- 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 userinfo.
The password is copied, if not null.
The properties are cloned as well.
Cloned session infos are mutable by default.
- clone() - 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.
- clone() - Method in interface org.tentackle.session.SessionInfo
-
Clones a sessioninfo.
The password will be copied if not null.
- close() - Method in interface org.tentackle.session.Session
-
Close a session.
Closing an already closed session is okay and ignored.
- commit(long) - Method in interface org.tentackle.session.Session
-
Commits a transaction if the corresponding begin() has started it.
- ConstraintException - Exception in org.tentackle.session
-
Runtime exception thrown for database constraint violations.
- ConstraintException(Session) - Constructor for exception 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 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 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 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 ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- ConstraintException(Identifiable) - Constructor for exception 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 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 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 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 ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- ConstraintException() - Constructor for exception 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 org.tentackle.session.ConstraintException
-
Constructs a new database constraint exception without a session with the specified detail message.
- ConstraintException(String, Throwable) - Constructor for exception org.tentackle.session.ConstraintException
-
Constructs a new database constraint exception without a session with the specified detail message and
cause.
- countModification(Session, String) - Method in interface org.tentackle.session.ModificationTracker
-
Counts the modification for a given name.
Used to trigger modification events.
- create(String, char[], String) - Method in class org.tentackle.session.DefaultSessionInfoFactory
-
- create(String) - Method in class org.tentackle.session.DefaultSessionInfoFactory
-
- create(Properties) - Method in class org.tentackle.session.DefaultSessionInfoFactory
-
- create() - Method in class org.tentackle.session.DefaultSessionInfoFactory
-
- create(SessionInfo) - Method in interface org.tentackle.session.SessionFactory
-
Creates a session.
- 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) - Method in interface org.tentackle.session.SessionInfoFactory
-
Creates a session info from a property file holding the connection parameters.
- create(Properties) - Method in interface org.tentackle.session.SessionInfoFactory
-
Creates a session info from a properties object.
- create() - Method in interface org.tentackle.session.SessionInfoFactory
-
Creates a session info from the default property file holding the connection parameters.
- 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.
- createDispatcher(int) - Method in class org.tentackle.session.PooledSessionTaskDispatcher
-
- createExecutorService() - Method in class org.tentackle.session.SessionKeepAliveDaemon
-
Creates the executor service.
- createFromRemoteException(Object, RemoteException) - Static method in exception org.tentackle.session.PersistenceException
-
Creates a RuntimeException from a
RemoteException.
Returns the first RuntimeException in chain.
- createLock(Object) - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
-
- createSession() - Method in class org.tentackle.session.PooledSessionTaskDispatcher
-
Creates a new db session.
- createSupervisor() - Method in class org.tentackle.session.PooledSessionTaskDispatcher
-
- getApplicationId() - Method in class org.tentackle.session.DefaultSessionInfo
-
Returns the application id.
- getApplicationId() - Method in interface org.tentackle.session.SessionInfo
-
Returns the application id.
- getApplicationName() - Method in class org.tentackle.session.DefaultSessionInfo
-
Gets the application name.
- getApplicationName() - Method in interface org.tentackle.session.SessionInfo
-
Gets the name of the application.
- getBundle() - Static method in class org.tentackle.session.SessionCoreBundle
-
Gets the bundle.
- getClassId(String) - Method in class org.tentackle.session.SessionUtilities
-
Gets the classid of a pdo class.
- getClassName(String) - Method in class org.tentackle.session.SessionUtilities
-
Gets the classname for tablename.
- getClassName(int) - Method in class org.tentackle.session.SessionUtilities
-
Gets the classname for a classid.
- 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 user info.
- getClientVersion() - Method in exception org.tentackle.session.VersionInfoIncompatibleException
-
Gets the client's version.
- getClientVersionInfo() - Method in class org.tentackle.session.DefaultSessionInfo
-
Gets the client version info.
- getClientVersionInfo() - Method in interface org.tentackle.session.SessionInfo
-
Gets the client version info.
- getCurrentSession() - Static method in interface org.tentackle.session.Session
-
Gets the session used by the current thread.
- getDbSessions() - Method in class org.tentackle.session.PooledSessionTaskDispatcher
-
Gets the db sessions.
- 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 asynchroneous tasks in a serial manner.
- getExecutorService() - Method in class org.tentackle.session.SessionKeepAliveDaemon
-
Gets the executor service.
- getHostInfo() - Method in class org.tentackle.session.DefaultSessionInfo
-
- getHostInfo() - Method in interface org.tentackle.session.SessionInfo
-
Gets the host info.
- getId() - Method in class org.tentackle.session.SavepointHandle
-
Gets the savepoint's id.
- getIdentifiable() - Method in exception org.tentackle.session.PersistenceException
-
Gets the persistent object.
- getImmutableLoggingLevel() - Method in class org.tentackle.session.DefaultSessionInfo
-
- 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 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.
- getLocale() - Method in class org.tentackle.session.DefaultSessionInfo
-
- getLocale() - Method in interface org.tentackle.session.SessionInfo
-
- getLoginInfo() - Method in exception org.tentackle.session.AlreadyLoggedInException
-
Gets the application user info.
- getLogLevel() - Method in exception org.tentackle.session.LoginFailedException
-
- getMaxSize() - Method in interface org.tentackle.session.SessionPool
-
Gets the maximum poolsize.
- getMessage() - Method in exception org.tentackle.session.AlreadyLoggedInException
- getMessage() - Method in exception org.tentackle.session.PersistenceException
-
- 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 class org.tentackle.session.SavepointHandle
-
Gets the savepoint's name.
- 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
-
- 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.DefaultSessionInfo
-
Gets the password.
- getPassword() - Method in interface org.tentackle.session.SessionInfo
-
Gets the password.
- getPasswordAsString() - Method in class org.tentackle.session.DefaultSessionInfo
-
Gets the password as a string.
- getPasswordAsString() - Method in interface org.tentackle.session.SessionInfo
-
Gets the password as a string.
- getPersistedSerial() - Method in exception 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.
- 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
-
Gets the connection properties.
If the properties are not set so far, the method will load
the properties file by adding the extension ".properties"
to propertiesName (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 the db errorhandler will be invoked (which will usually terminate the application).
- getProperties() - Method in interface org.tentackle.session.SessionInfo
-
Gets the connection properties.
The the properties are not set so far, the method will load
the properties file by adding the extension ".properties"
to dbPropertiesName (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 failes the db errorhandler
will be invoked (which will usually terminate the application).
- getPropertiesName() - Method in class org.tentackle.session.DefaultSessionInfo
-
Gets the name of the property file.
- 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.
- 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 org.tentackle.session.VersionInfoIncompatibleException
-
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 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 threadlocal 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.
- getSessionId() - Method in interface org.tentackle.session.Session
-
Gets the session ID.
- getSessionInfo() - Method in class org.tentackle.session.PooledSessionTaskDispatcher
-
Gets the user info.
- getSessionInfo() - Method in interface org.tentackle.session.Session
-
Gets the current user info.
- getSessionInfo() - Method in interface org.tentackle.session.SessionHolder
-
The SessionInfo extends the UserInfo by a SecurityManager.
- 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
-
- getSessionPool() - Method in interface org.tentackle.session.SessionPoolProvider
-
Gets the db session pool.
- getSince() - Method in class org.tentackle.session.DefaultSessionInfo
-
Gets the time since when logged in.
- getSince() - Method in interface org.tentackle.session.SessionInfo
-
Gets the epochal time since when logged in.
- getSize() - Method in interface org.tentackle.session.SessionPool
-
Gets the current number of session instances.
- getString(String) - Static method in class org.tentackle.session.SessionCoreBundle
-
Gets a string for the given key.
- getTableName(String) - Method in class org.tentackle.session.SessionUtilities
-
Gets the tablename of a pdo class.
- getTaskDispatcher() - Method in class org.tentackle.session.SessionTaskDispatcherLock
-
- 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 interface org.tentackle.session.Session
-
Gets the url.
- 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
-
Gets the username.
- 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.
- groupWith(int) - Method in interface org.tentackle.session.Session
-
Assigns this session to another session building a session group.
- 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
-
Checks whether this DefaultSessionInfo is cloned.
- isCloned() - Method in interface org.tentackle.session.SessionInfo
-
Checks whether this UserInfo is cloned.
- isCurrent() - Method in interface org.tentackle.session.Session
-
Returns whether this session is the thread's local current session.
- isImmutable() - Method in class org.tentackle.session.DefaultSessionInfo
-
- 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.
- isOpen() - Method in interface org.tentackle.session.Session
-
Gets the connection state.
- 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 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.SessionPool
-
Returns whether the pool is shutdown.
- 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.
- log(Logger.Level, String) - Method in interface org.tentackle.session.RemoteSession
-
Logs at the server-side.
- LoginFailedException - Exception in org.tentackle.session
-
RMI servers should throw a LoginFailedException if authentication fails (or
any other reason)
- LoginFailedException(Session) - Constructor for exception 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 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 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 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 ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- LoginFailedException(Identifiable) - Constructor for exception org.tentackle.session.LoginFailedException
-
Constructs a new login failed exception for a given identifiable.
- LoginFailedException(Identifiable, String) - Constructor for exception 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 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 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 ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- LoginFailedException() - Constructor for exception 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 org.tentackle.session.LoginFailedException
-
Constructs a new login failed exception without a session with the specified detail message.
- LoginFailedException(String, Throwable) - Constructor for exception org.tentackle.session.LoginFailedException
-
Constructs a new login failed exception without a session with the specified detail message and
cause.
- logStatistics(Logger.Level, boolean) - Method in interface org.tentackle.session.RemoteSession
-
Logs the statistics at the server-side.
- NotFoundException - Exception in org.tentackle.session
-
Runtime exception thrown if objects that should exist are not found in the database.
- NotFoundException(Session) - Constructor for exception 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 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 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 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 ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- NotFoundException(Identifiable) - Constructor for exception 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 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 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 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 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 ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- NotFoundException() - Constructor for exception 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 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 org.tentackle.session.NotFoundException
-
Constructs a new database object not found exception without a session with the specified detail message and
cause.
- NotRemovableException - Exception in org.tentackle.session
-
Runtime exception thrown for not-removables.
- NotRemovableException(Session) - Constructor for exception 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 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 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 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 ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- NotRemovableException(Identifiable) - Constructor for exception 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 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 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 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 ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- NotRemovableException() - Constructor for exception 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 org.tentackle.session.NotRemovableException
-
Constructs a new database constraint exception without a session with the specified detail message.
- NotRemovableException(String, Throwable) - Constructor for exception org.tentackle.session.NotRemovableException
-
Constructs a new database constraint exception without a session with the specified detail message and
cause.
- PersistenceException - Exception in org.tentackle.session
-
Database runtime exception.
- PersistenceException(Session) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given db connection
with null as its detail message.
- PersistenceException(Session, String) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given db connection with the specified detail message.
- PersistenceException(Session, String, Throwable) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given db connection with the specified detail message and
cause.
- PersistenceException(Session, Throwable) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given db connection with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- PersistenceException(Identifiable) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given db object
with null as its detail message.
- PersistenceException(Identifiable, String) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given db connection with the specified detail message.
- PersistenceException(Identifiable, String, Throwable) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given db connection with the specified detail message and
cause.
- PersistenceException(Identifiable, Throwable) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given db connection with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- PersistenceException() - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception without a db connection and
with null as its detail message.
- PersistenceException(String) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception without a db connection with the specified detail message.
- PersistenceException(String, Throwable) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception without a db connection with the specified detail message and
cause.
- PersistenceException(Throwable) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception without a db connection with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- Persistent - Annotation Type in org.tentackle.session
-
Persistent fields and methods are annotated with this annotation.
- PooledSessionTaskDispatcher - Class in org.tentackle.session
-
- PooledSessionTaskDispatcher(SessionInfo, int, String, boolean, long, boolean, long) - Constructor for class org.tentackle.session.PooledSessionTaskDispatcher
-
Creates a pooled db task dispatcher.
- PooledSessionTaskDispatcher(SessionInfo, int, String, boolean, long) - Constructor for class org.tentackle.session.PooledSessionTaskDispatcher
-
Creates a non-supervising pooled db task dispatcher.
- putSession(Session) - Method in interface org.tentackle.session.ReturnableSessionProvider
-
Returns a session to the provider.
- SavepointHandle - Class in org.tentackle.session
-
A savepoint handle.
- SavepointHandle(String) - Constructor for class org.tentackle.session.SavepointHandle
-
Creates a handle for a named savepoint.
- SavepointHandle(int) - Constructor for class org.tentackle.session.SavepointHandle
-
Creates a handle for an unnamed savepoint.
- Session - Interface in org.tentackle.session
-
The session all PDOs live in.
- SessionClosedException - Exception in org.tentackle.session
-
Runtime exception thrown if the session is already closed.
- SessionClosedException(Session) - Constructor for exception 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 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 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 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 ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- SessionClosedException(Identifiable) - Constructor for exception 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 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 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 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 ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- SessionClosedException() - Constructor for exception 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 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 org.tentackle.session.SessionClosedException
-
Constructs a new database session closed exception without a session with the specified detail message and
cause.
- SessionCloseHandler - Interface in org.tentackle.session
-
A handler invoked whenever a Session is closed.
- SessionCoreBundle - Class in org.tentackle.session
-
Bundle for pdo-package in tentackle-core.
- SessionDependable - Interface in org.tentackle.session
-
Interface for objects depending on sessions.
- SessionFactory - Interface in org.tentackle.session
-
- SessionHolder - Interface in org.tentackle.session
-
Holder for a session.
- SessionInfo - Interface in org.tentackle.session
-
Session information.
- SessionInfoFactory - Interface in org.tentackle.session
-
- 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 asynchroneous 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.
- SessionPoolProvider - Interface in org.tentackle.session
-
An object maintaining a SessionPool.
- 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.
- setAlive(boolean) - Method in interface org.tentackle.session.Session
-
Sets the session's alive state.
- setApplicationId(long) - Method in class org.tentackle.session.DefaultSessionInfo
-
Sets the application id.
Should be unique among the same application name.
- 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
-
Sets the application name.
- setApplicationName(String) - Method in interface org.tentackle.session.SessionInfo
-
Sets the name of the application.
- setClientVersionInfo(Serializable) - Method in class org.tentackle.session.DefaultSessionInfo
-
Sets the client's version info.
- setClientVersionInfo(Serializable) - Method in interface org.tentackle.session.SessionInfo
-
Sets the client's version info.
- setCurrentSession(Session) - Static method in interface org.tentackle.session.Session
-
Sets the session used by the current thread.
The session is stored as
ThreadLocal.
- setHostInfo(String) - Method in class org.tentackle.session.DefaultSessionInfo
-
- setHostInfo(String) - Method in interface org.tentackle.session.SessionInfo
-
Sets the host info.
- setIdentifiable(Identifiable) - Method in exception org.tentackle.session.PersistenceException
-
Sets the pdo.
- 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.
- 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
-
Sets the password.
- setPassword(char[]) - Method in interface org.tentackle.session.SessionInfo
-
Sets the password.
- setProperties(Properties) - Method in class org.tentackle.session.DefaultSessionInfo
-
Sets the connection properties.
- setProperties(Properties) - Method in interface org.tentackle.session.SessionInfo
-
Sets the connection properties.
- setPropertiesName(String) - Method in class org.tentackle.session.DefaultSessionInfo
-
Sets the name of the property file, i.e.
- 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.
- setSession(Session) - Method in class org.tentackle.session.AbstractSessionTask
-
- setSession(Session) - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
-
- setSession(Session) - Method in exception org.tentackle.session.PersistenceException
-
Sets the db.
- 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 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.
- setSince(long) - Method in class org.tentackle.session.DefaultSessionInfo
-
Sets the epochal time when the user logged in.
- 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.
- 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
-
Sets the username
- 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.SessionPool
-
Closes all sessions in the pool, cleans up and makes the pool unusable.
- START_INFO - Static variable in exception org.tentackle.session.PersistenceException
-
Tag starting extra identifiable/session info in message.
- startKeepAliveDaemonIfNotRunning() - Method in class org.tentackle.session.SessionUtilities
-
Starts the keep alive thread if not already running.