| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private volatile Set | |
| private final TransactionIDFactory |
| Access | Constructor and Description |
|---|---|
| public | LocalRecoveryManager(TransactionIDFactory
the TransactionIDFactory transactionIdFactory)Create a LocalRecoveryManager instance |
| Modifier and Type | Method and Description |
|---|---|
| public Set | Returns: the set of previously recovered TransactionIDsGet the set of transaction IDs collected by the previous recover() call |
| public Set | Returns: the set of recovered TransactionIDsRun recovery on all registered local transaction stores. |
| pack-priv void | register(LocalTransactionStore
the LocalTransactionStore localTransactionStore)Register a LocalTransactionStore from the recovery manager |
| pack-priv void | unregister(LocalTransactionStore
the LocalTransactionStore localTransactionStore)Unregister a LocalTransactionStore from the recovery manager |
| localTransactionStores | back to summary |
|---|---|
| private final List<LocalTransactionStore> localTransactionStores | |
| previouslyRecoveredTransactionIDs | back to summary |
|---|---|
| private volatile Set<TransactionID> previouslyRecoveredTransactionIDs | |
| transactionIdFactory | back to summary |
|---|---|
| private final TransactionIDFactory transactionIdFactory | |
| LocalRecoveryManager | back to summary |
|---|---|
| public LocalRecoveryManager(TransactionIDFactory transactionIdFactory) Create a LocalRecoveryManager instance
| |
| getPreviouslyRecoveredTransactionIDs | back to summary |
|---|---|
| public Set Get the set of transaction IDs collected by the previous recover() call
| |
| recover | back to summary |
|---|---|
| public Set Run recovery on all registered local transaction stores. The latter are used internally by caches when they're configured with local transaction mode.
| |
| register | back to summary |
|---|---|
| pack-priv void register(LocalTransactionStore localTransactionStore) Register a LocalTransactionStore from the recovery manager
| |
| unregister | back to summary |
|---|---|
| pack-priv void unregister(LocalTransactionStore localTransactionStore) Unregister a LocalTransactionStore from the recovery manager
| |