Package org.apache.spark.launcher
Interface SparkAppHandle.Listener
- Enclosing interface:
- SparkAppHandle
public static interface SparkAppHandle.Listener
Listener for updates to a handle's state. The callbacks do not receive information about
what exactly has changed, just that an update has occurred.
- Since:
- 1.6.0
-
Method Summary
Modifier and TypeMethodDescriptionvoid
infoChanged
(SparkAppHandle handle) Callback for changes in any information that is not the handle's state.void
stateChanged
(SparkAppHandle handle) Callback for changes in the handle's state.
-
Method Details
-
stateChanged
Callback for changes in the handle's state.- Parameters:
handle
- The updated handle.- See Also:
-
infoChanged
Callback for changes in any information that is not the handle's state.- Parameters:
handle
- The updated handle.
-