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

java.lang.Object
  extended by org.apache.hadoop.yarn.event.AbstractEvent<ResourceEventType>
      extended by org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event.ResourceEvent
          extended by org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event.ResourceLocalizedEvent
All Implemented Interfaces:
org.apache.hadoop.yarn.event.Event<ResourceEventType>

public class ResourceLocalizedEvent
extends ResourceEvent


Constructor Summary
ResourceLocalizedEvent(LocalResourceRequest rsrc, org.apache.hadoop.fs.Path location, long size)
           
 
Method Summary
 org.apache.hadoop.fs.Path getLocation()
           
 long getSize()
           
 
Methods inherited from class org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event.ResourceEvent
getLocalResourceRequest
 
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

ResourceLocalizedEvent

public ResourceLocalizedEvent(LocalResourceRequest rsrc,
                              org.apache.hadoop.fs.Path location,
                              long size)
Method Detail

getLocation

public org.apache.hadoop.fs.Path getLocation()

getSize

public long getSize()


Copyright © 2012 Apache Software Foundation. All Rights Reserved.