Uses of Class
org.eclipse.persistence.exceptions.ConcurrencyException
-
-
Uses of ConcurrencyException in org.eclipse.persistence.exceptions
-
Uses of ConcurrencyException in org.eclipse.persistence.internal.helper
Methods in org.eclipse.persistence.internal.helper that throw ConcurrencyException Modifier and Type Method Description voidConcurrencyManager. acquire()Wait for all threads except the active thread.voidConcurrencyManager. acquire(boolean forMerge)Wait for all threads except the active thread.voidConcurrencyManager. acquireDeferredLock()Add deferred lock into a hashtable to avoid deadlockbooleanConcurrencyManager. acquireIfUnownedNoWait(boolean forMerge)If the activeThread is not set, acquire it and return true.booleanConcurrencyManager. acquireNoWait()If the lock is not acquired already acquire it and return true.booleanConcurrencyManager. acquireNoWait(boolean forMerge)If the lock is not acquired already acquire it and return true.voidConcurrencyManager. acquireReadLock()Wait on any writer.booleanConcurrencyManager. acquireWithWait(boolean forMerge, int wait)If the lock is not acquired already acquire it and return true.voidConcurrencyManager. checkDeferredLock()Check the lock state, if locked, acquire and release a deferred lock.voidConcurrencyManager. checkReadLock()Check the lock state, if locked, acquire and release a read lock.voidConcurrencyManager. release()Decrement the depth for the active thread.voidConcurrencyManager. releaseDeferredLock()Release the deferred lock.voidConcurrencyManager. releaseReadLock()Decrement the number of readers. -
Uses of ConcurrencyException in org.eclipse.persistence.internal.sessions
Methods in org.eclipse.persistence.internal.sessions that throw ConcurrencyException Modifier and Type Method Description voidAbstractSession. beginTransaction()PUBLIC: Begin a transaction on the database.voidAbstractSession. commitTransaction()PUBLIC: Commit the active database transaction.voidAbstractSession. rollbackTransaction()PUBLIC: Rollback the active database transaction. -
Uses of ConcurrencyException in org.eclipse.persistence.sessions.server
Methods in org.eclipse.persistence.sessions.server that throw ConcurrencyException Modifier and Type Method Description voidServerSession. acquireClientConnection(ClientSession clientSession)INTERNAL: Allocate the client's connection resource.AccessorConnectionPool. acquireConnection()INTERNAL: Wait until a connection is available and allocate the connection for the client.AccessorExternalConnectionPool. acquireConnection()INTERNAL: When we acquire a connection from an ExternalConnectionPool we build a new connection (retrieve it from the external pool).AccessorReadConnectionPool. acquireConnection()INTERNAL: Wait until a connection is available and allocate the connection for the client.
-