public final class JobSubmissionEventImpl extends Object implements JobSubmissionEvent
Modifier and Type | Class and Description |
---|---|
static class |
JobSubmissionEventImpl.Builder
Builder used to create JobSubmissionEvent instances.
|
Modifier and Type | Method and Description |
---|---|
Configuration |
getConfiguration() |
Optional<Integer> |
getDriverMemory() |
Set<FileResource> |
getGlobalFileSet() |
String |
getIdentifier() |
Set<FileResource> |
getLocalFileSet() |
Optional<Integer> |
getMaxApplicationSubmissions()
Returns the number of time that the driver should be started by the resource manager
if it fails unexpectedly.
|
Optional<Boolean> |
getPreserveEvaluators() |
Optional<Integer> |
getPriority() |
String |
getRemoteId() |
String |
getUserName() |
static JobSubmissionEventImpl.Builder |
newBuilder() |
String |
toString() |
public String getIdentifier()
getIdentifier
in interface JobSubmissionEvent
public String getRemoteId()
getRemoteId
in interface JobSubmissionEvent
public Configuration getConfiguration()
getConfiguration
in interface JobSubmissionEvent
public String getUserName()
getUserName
in interface JobSubmissionEvent
public Set<FileResource> getGlobalFileSet()
getGlobalFileSet
in interface JobSubmissionEvent
public Set<FileResource> getLocalFileSet()
getLocalFileSet
in interface JobSubmissionEvent
public Optional<Integer> getDriverMemory()
getDriverMemory
in interface JobSubmissionEvent
public Optional<Integer> getPriority()
getPriority
in interface JobSubmissionEvent
public Optional<Boolean> getPreserveEvaluators()
getPreserveEvaluators
in interface JobSubmissionEvent
public Optional<Integer> getMaxApplicationSubmissions()
JobSubmissionEvent
getMaxApplicationSubmissions
in interface JobSubmissionEvent
public static JobSubmissionEventImpl.Builder newBuilder()
Copyright © 2017 The Apache Software Foundation. All rights reserved.