public class IntegerTaskEvent extends TaskEvent
| Constructor and Description |
|---|
IntegerTaskEvent()
Default constructor (should only be used for deserialization).
|
IntegerTaskEvent(int value)
Constructs a new integer task event.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getInteger()
Returns the stored integer value.
|
int |
hashCode() |
void |
read(org.apache.flink.core.memory.DataInputView in) |
void |
write(org.apache.flink.core.memory.DataOutputView out) |
public IntegerTaskEvent()
public IntegerTaskEvent(int value)
value - the integer value to be transported inside this integer task eventpublic int getInteger()
-1 if no value has been setpublic void write(org.apache.flink.core.memory.DataOutputView out)
throws IOException
IOExceptionpublic void read(org.apache.flink.core.memory.DataInputView in)
throws IOException
IOExceptionCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.