org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event
Class LocalizerResourceRequestEvent

java.lang.Object
  extended by org.apache.hadoop.yarn.event.AbstractEvent<LocalizerEventType>
      extended by org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event.LocalizerEvent
          extended by org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event.LocalizerResourceRequestEvent
All Implemented Interfaces:
org.apache.hadoop.yarn.event.Event<LocalizerEventType>

public class LocalizerResourceRequestEvent
extends LocalizerEvent

Event indicating that the ResourceLocalizationService should fetch this resource.


Constructor Summary
LocalizerResourceRequestEvent(LocalizedResource resource, org.apache.hadoop.yarn.api.records.LocalResourceVisibility vis, LocalizerContext context)
           
 
Method Summary
 LocalizerContext getContext()
           
 LocalizedResource getResource()
           
 org.apache.hadoop.yarn.api.records.LocalResourceVisibility getVisibility()
           
 
Methods inherited from class org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event.LocalizerEvent
getLocalizerId
 
Methods inherited from class org.apache.hadoop.yarn.event.AbstractEvent
getTimestamp, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalizerResourceRequestEvent

public LocalizerResourceRequestEvent(LocalizedResource resource,
                                     org.apache.hadoop.yarn.api.records.LocalResourceVisibility vis,
                                     LocalizerContext context)
Method Detail

getResource

public LocalizedResource getResource()

getContext

public LocalizerContext getContext()

getVisibility

public org.apache.hadoop.yarn.api.records.LocalResourceVisibility getVisibility()


Copyright © 2012 Apache Software Foundation. All Rights Reserved.