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:
ClientSessionSequencing
AFTER_INSERT, BEFORE_INSERT, UNDEFINED
Modifier and Type | Method and Description |
---|---|
ConnectionPool |
getConnectionPool() |
java.lang.Object |
getNextValue(AbstractSession writeSession,
java.lang.Class cls) |
getNextValue, whenShouldAcquireValueForAll
java.lang.Object getNextValue(AbstractSession writeSession, java.lang.Class cls)
ConnectionPool getConnectionPool()
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference