SequencingServer, org.eclipse.persistence.sessions.server.ClientSession
| Modifier and Type | Field and Description |
|---|---|
| protected ClientSession | |
| protected SequencingServer |
| Access | Constructor and Description |
|---|---|
| public | ClientSessionSequencing(ClientSession clientSession)
INTERNAL: Takes an owner - ClientSession as an argument. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | getNextValue(Class<?>
Class for which the sequencing value is generated. cls)Implements org. |
| public static boolean | sequencingServerExists(ClientSession cs)
INTERNAL: Takes a potential owner - ClientSession as an argument. |
| public int | whenShouldAcquireValueForAll()
Implements org. |
| clientSession | back to summary |
|---|---|
| protected ClientSession clientSession | |
| sequencingServer | back to summary |
|---|---|
| protected SequencingServer sequencingServer | |
| ClientSessionSequencing | back to summary |
|---|---|
| public ClientSessionSequencing(ClientSession clientSession) INTERNAL: Takes an owner - ClientSession as an argument. | |
| getNextValue | back to summary |
|---|---|
| public Object getNextValue(Class<?> cls) Implements org. INTERNAL: This method is the reason for this class to exist: SequencingServer.getNextValue takes two arguments the first argument being a session which owns write connection (either DatabaseSession or ClientSession).
| |
| sequencingServerExists | back to summary |
|---|---|
| public static boolean sequencingServerExists(ClientSession cs) INTERNAL: Takes a potential owner - ClientSession as an argument. This static method is called before an instance of this class is created. The goal is to verify whether the instance of ClientSessionSequencing should be created. | |
| whenShouldAcquireValueForAll | back to summary |
|---|---|
| public int whenShouldAcquireValueForAll() Implements org. INTERNAL: Simply calls the same method on SequencingServer
| |