public class LiveResourceProfile
extends Object
Constructor and Description |
---|
LiveResourceProfile(int resourceProfileId,
scala.collection.immutable.Map<String,ExecutorResourceRequest> executorResources,
scala.collection.immutable.Map<String,TaskResourceRequest> taskResources,
scala.Option<Object> maxTasksPerExecutor) |
Modifier and Type | Method and Description |
---|---|
scala.collection.immutable.Map<String,ExecutorResourceRequest> |
executorResources() |
long |
lastWriteTime() |
scala.Option<Object> |
maxTasksPerExecutor() |
int |
resourceProfileId() |
scala.collection.immutable.Map<String,TaskResourceRequest> |
taskResources() |
ResourceProfileInfo |
toApi() |
void |
write(org.apache.spark.status.ElementTrackingStore store,
long now,
boolean checkTriggers) |
public LiveResourceProfile(int resourceProfileId, scala.collection.immutable.Map<String,ExecutorResourceRequest> executorResources, scala.collection.immutable.Map<String,TaskResourceRequest> taskResources, scala.Option<Object> maxTasksPerExecutor)
public scala.collection.immutable.Map<String,ExecutorResourceRequest> executorResources()
public scala.Option<Object> maxTasksPerExecutor()
public int resourceProfileId()
public scala.collection.immutable.Map<String,TaskResourceRequest> taskResources()
public ResourceProfileInfo toApi()
public long lastWriteTime()
public void write(org.apache.spark.status.ElementTrackingStore store, long now, boolean checkTriggers)