|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISynchronizer
A Synchronizer participates in system synchoronization. During a synchronization, a synchronizer may declare any number of resources invalid and subsequently perform synchronization post processing.
The synchronization implementation looks up all synchronizers and implements the following steps:
preInvalidation(ISynchronization) methodcomplete(ISynchronization) method.The following table lists priorities of common synchronizers:
| Synchronizer | priority | preInvalidation | order | Completion | order |
|---|---|---|---|---|---|
| worker adapter | 800 | Reset worker side db | |||
| Components | 550 | Verify component query subscriptions at home and workers | |||
| Worker | 500 | Propagate invalidations to worker. Attain worker target states | |||
| Home | 1 | Attain home states (home_up) |
| Field Summary | |
|---|---|
static java.lang.String |
PRIO
Component property defining the priority of a synchronizer |
static java.lang.String |
TYPE
Component type of a synchronizer |
| Method Summary | |
|---|---|
void |
complete(ISynchronization sync)
synchronizers implement this method to re-establish any desired system state after all invalidations have been performed. |
void |
preInvalidation(ISynchronization sync)
synchronizers implement this method to collect the set of components to invalidate and log messages to the end user. |
| Field Detail |
|---|
static final java.lang.String TYPE
static final java.lang.String PRIO
| Method Detail |
|---|
void preInvalidation(ISynchronization sync)
void complete(ISynchronization sync)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||