| Modifier and Type | Field and Description |
|---|---|
| protected SessionBroker | |
| protected int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | |
| protected Sequencing | |
| public Object | getNextValue(Class<?>
Class for which the sequencing value is generated. cls)Implements org. |
| protected void | |
| public int | whenShouldAcquireValueForAll()
Implements org. |
| broker | back to summary |
|---|---|
| protected SessionBroker broker | |
| whenShouldAcquireValueForAll | back to summary |
|---|---|
| protected int whenShouldAcquireValueForAll | |
| SessionBrokerSequencing | back to summary |
|---|---|
| public SessionBrokerSequencing(SessionBroker broker) | |
| atLeastOneSessionHasSequencing | back to summary |
|---|---|
| public static boolean atLeastOneSessionHasSequencing(SessionBroker br) | |
| get | back to summary |
|---|---|
| protected Sequencing get(Class<?> cls) | |
| getNextValue | back to summary |
|---|---|
| public Object getNextValue(Class<?> cls) Implements org. Doc from org. INTERNAL: Return the newly-generated sequencing value. | |
| initialize | back to summary |
|---|---|
| protected void initialize() | |
| whenShouldAcquireValueForAll | back to summary |
|---|---|
| public int whenShouldAcquireValueForAll() Implements org. Doc from org. INTERNAL: Indicates when sequencing value should be acquired for all classes. There are just three possible return values: BEFORE_INSERT, UNDEFINED, AFTER_INSERT. Used as a shortcut to avoid individual checks for each class: shouldAcquireValueAfterInsert(Class cls). Currently UNDEFINED only happens in a case of a SessionBroker: session1 - BEFORE_INSERT, session2 - AFTER_INSERT
| |