Interface SequencingServer
-
- All Superinterfaces:
Sequencing
public interface SequencingServer extends Sequencing
Purpose: Define interface for sequencing server.
Description: This interface accessed through ServerSession.getSequencingServer() method. Used for creation of ClientSessionSequencing object and for access to sequencing connection pool. Note that if session is disconnected ServerSession.getSequencingServer() always returns null. Setup of SequencingConnectionPool is done only through SequencingControl interface. Even if getSequencingControl().setShouldUseSeparateConnection(true) is specified, SequencingConnectionPool is NOT created unless the session has at least one Sequence object that requires transaction.
Responsibilities:
- Connects sequencing on ClientSession with sequencing on ServerSession.
- See Also:
ClientSessionSequencing
-
-
Field Summary
-
Fields inherited from interface org.eclipse.persistence.internal.sequencing.Sequencing
AFTER_INSERT, BEFORE_INSERT, UNDEFINED
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectionPool
getConnectionPool()
Object
getNextValue(AbstractSession writeSession, Class cls)
-
Methods inherited from interface org.eclipse.persistence.internal.sequencing.Sequencing
getNextValue, whenShouldAcquireValueForAll
-
-
-
-
Method Detail
-
getNextValue
Object getNextValue(AbstractSession writeSession, Class cls)
-
getConnectionPool
ConnectionPool getConnectionPool()
-
-