Package org.apache.spark.status
Class LiveResourceProfile
Object
org.apache.spark.status.LiveResourceProfile
-
Constructor Summary
ConstructorDescriptionLiveResourceProfile
(int resourceProfileId, scala.collection.immutable.Map<String, ExecutorResourceRequest> executorResources, scala.collection.immutable.Map<String, TaskResourceRequest> taskResources, scala.Option<Object> maxTasksPerExecutor) -
Method Summary
Modifier and TypeMethodDescriptionscala.collection.immutable.Map<String,
ExecutorResourceRequest> long
scala.Option<Object>
int
scala.collection.immutable.Map<String,
TaskResourceRequest> toApi()
void
write
(org.apache.spark.status.ElementTrackingStore store, long now, boolean checkTriggers)
-
Constructor Details
-
LiveResourceProfile
public LiveResourceProfile(int resourceProfileId, scala.collection.immutable.Map<String, ExecutorResourceRequest> executorResources, scala.collection.immutable.Map<String, TaskResourceRequest> taskResources, scala.Option<Object> maxTasksPerExecutor)
-
-
Method Details
-
executorResources
-
maxTasksPerExecutor
-
resourceProfileId
public int resourceProfileId() -
taskResources
-
toApi
-
lastWriteTime
public long lastWriteTime() -
write
public void write(org.apache.spark.status.ElementTrackingStore store, long now, boolean checkTriggers)
-