|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.yarn.boot.support.EmbeddedAppmasterTrackService
public class EmbeddedAppmasterTrackService
A AppmasterTrackService which delegates to an
EmbeddedServletContainer to find a configured port whether that is
hard coded or set to be picked up automatically.
EmbeddedServletContainer is received from an ApplicationEvent
send by boot to notify existence of
AnnotationConfigEmbeddedWebApplicationContext.
| Constructor Summary | |
|---|---|
EmbeddedAppmasterTrackService()
Instantiates a new embedded appmaster track service with default wait time of 60 seconds. |
|
EmbeddedAppmasterTrackService(long waitTime)
Instantiates a new embedded appmaster track service. |
|
| Method Summary | |
|---|---|
String |
getTrackUrl()
|
void |
onApplicationEvent(ApplicationEvent event)
|
void |
setWaitTime(long waitTime)
Sets the max time waiting for embedded container port. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmbeddedAppmasterTrackService()
public EmbeddedAppmasterTrackService(long waitTime)
waitTime - the wait time in millis| Method Detail |
|---|
public String getTrackUrl()
getTrackUrl in interface org.springframework.yarn.am.AppmasterTrackServicepublic void onApplicationEvent(ApplicationEvent event)
onApplicationEvent in interface ApplicationListener<ApplicationEvent>public void setWaitTime(long waitTime)
waitTime - the new wait time in millis
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||