public interface TSOStateManager
| Modifier and Type | Interface and Description |
|---|---|
static interface |
TSOStateManager.StateObserver
Allows implementors to receive the new state when changes occur
|
static class |
TSOStateManager.TSOState
Represents the state of the TSO
|
| Modifier and Type | Method and Description |
|---|---|
TSOStateManager.TSOState |
initialize()
Allows to initialize the state
|
void |
register(TSOStateManager.StateObserver observer)
Allows to register observers for receiving state changes
|
void |
unregister(TSOStateManager.StateObserver observer)
Allows to de-register observers for stopping receiving changes
|
void register(TSOStateManager.StateObserver observer)
observer - the observer to registervoid unregister(TSOStateManager.StateObserver observer)
observer - the observer to unregisterTSOStateManager.TSOState initialize() throws Exception
IOException - when problems resetting occurInterruptedExceptionExceptionCopyright © 2011–2020 Apache Software Foundation. All rights reserved.