Interface BaseStreamingAppResource
- All Superinterfaces:
ApiRequestContext
,BaseAppResource
Base class for streaming API handlers, provides easy access to the streaming listener that
holds the app's information.
-
Method Summary
Modifier and TypeMethodDescription<T> T
withListener
(scala.Function1<org.apache.spark.streaming.ui.StreamingJobProgressListener, T> fn) Methods inherited from interface org.apache.spark.status.api.v1.ApiRequestContext
httpRequest, servletContext, uiRoot
Methods inherited from interface org.apache.spark.status.api.v1.BaseAppResource
appId, attemptId, checkUIViewPermissions, withUI
-
Method Details
-
withListener
<T> T withListener(scala.Function1<org.apache.spark.streaming.ui.StreamingJobProgressListener, T> fn)
-