Spring for Apache Hadoop

org.springframework.yarn.am.track
Class UrlAppmasterTrackService

java.lang.Object
  extended by org.springframework.yarn.am.track.UrlAppmasterTrackService
All Implemented Interfaces:
AppmasterTrackService

public class UrlAppmasterTrackService
extends java.lang.Object
implements AppmasterTrackService

Generic AppmasterTrackService implementation whose only purpose is to expose the given url. This is most useful if existing service already exists and its url needs to be exposed to Application Master.

Author:
Janne Valkealahti

Constructor Summary
UrlAppmasterTrackService(java.lang.String url)
          Instantiate with a given url.
 
Method Summary
 java.lang.String getTrackUrl()
          Gets a url of this track service.
 void setUrl(java.lang.String url)
          Sets the url.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlAppmasterTrackService

public UrlAppmasterTrackService(java.lang.String url)
Instantiate with a given url.

Parameters:
url - the url
Method Detail

getTrackUrl

public java.lang.String getTrackUrl()
Description copied from interface: AppmasterTrackService
Gets a url of this track service.

Specified by:
getTrackUrl in interface AppmasterTrackService
Returns:
the track service url.

setUrl

public void setUrl(java.lang.String url)
Sets the url.

Parameters:
url - the url

Spring for Apache Hadoop