@InterfaceStability.Unstable @InterfaceAudience.Public public class InputInitializerEvent extends Event
InputInitializer
.
This can be used to send information/metadata to the InputInitializer
Modifier and Type | Method and Description |
---|---|
static InputInitializerEvent |
create(String targetVertexName,
String targetInputName,
ByteBuffer eventPayload) |
String |
getTargetInputName()
Get the input name to which this event is targeted
|
String |
getTargetVertexName()
Get the vertex name on which the targeted Input exists
|
ByteBuffer |
getUserPayload()
Get the actual user payload
|
public static InputInitializerEvent create(String targetVertexName, String targetInputName, ByteBuffer eventPayload)
targetVertexName
- the vertex on which the targeted Input existstargetInputName
- the name of the inputeventPayload
- the payload for the event. It is advisable to limit the size of the
payload to a few KB at maxpublic String getTargetVertexName()
public String getTargetInputName()
public ByteBuffer getUserPayload()
Copyright © 2014 Apache Software Foundation. All rights reserved.