SAFplus Runtime Director API
3.0.5
|
The change tracker class keeps track of state changes and notifies interested parties. More...
Public Member Functions | |
def | __init__ |
Constructor. More... | |
def | changed |
Indicate that state has changed. More... | |
def | changeWait |
Wait for a state change. More... | |
Public Attributes | |
parent | |
Change tracker hierarchy (if you are changed, your parent is marked as changed as well) More... | |
generation | |
Every time a change occurs, generation is incremented. More... | |
changeFlag | |
Python threading Event Object that implements the fundamental thread blocking mechanism. More... | |
The change tracker class keeps track of state changes and notifies interested parties.
def upgrade.ChangeTracker.__init__ | ( | self, | |
parent = None |
|||
) |
Constructor.
parent | Specify a change tracker hierarchy (if you are changed, your parent is marked as changed as well) |
def upgrade.ChangeTracker.changed | ( | self | ) |
Indicate that state has changed.
def upgrade.ChangeTracker.changeWait | ( | self, | |
generation, | |||
timeout = None |
|||
) |
Wait for a state change.
generation | What was the last state change you knew about? |
timeout | Optional maximum time in milliseconds to wait for a state change |
upgrade.ChangeTracker.changeFlag |
Python threading Event Object that implements the fundamental thread blocking mechanism.
upgrade.ChangeTracker.generation |
Every time a change occurs, generation is incremented.
This allows users to determine whether they are up-to-date
upgrade.ChangeTracker.parent |
Change tracker hierarchy (if you are changed, your parent is marked as changed as well)