org.apache.tez.runtime.api.events
Class VertexManagerEvent

java.lang.Object
  extended by org.apache.tez.runtime.api.Event
      extended by org.apache.tez.runtime.api.events.VertexManagerEvent

public class VertexManagerEvent
extends Event

Event used to send information from a Task to the VertexManager for a vertex. This may be used to send statistics like samples etc to the VertexManager for automatic plan recofigurations based on observed statistics


Constructor Summary
VertexManagerEvent(String vertexName, byte[] userPayload)
          Create a new VertexManagerEvent
 
Method Summary
 String getTargetVertexName()
           
 byte[] getUserPayload()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VertexManagerEvent

public VertexManagerEvent(String vertexName,
                          byte[] userPayload)
Create a new VertexManagerEvent

Parameters:
vertexName -
userPayload - This should not be modified since a reference is kept
Method Detail

getTargetVertexName

public String getTargetVertexName()

getUserPayload

public byte[] getUserPayload()


Copyright © 2014 Apache Software Foundation. All rights reserved.