Package org.apache.storm.messaging.netty
Class BackPressureStatus
- java.lang.Object
-
- org.apache.storm.messaging.netty.BackPressureStatus
-
public class BackPressureStatus extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Collection<Integer>bpTaskslongidstatic shortIDENTIFIERCollection<Integer>nonBpTasksStringworkerId
-
Constructor Summary
Constructors Constructor Description BackPressureStatus()BackPressureStatus(String workerId, Collection<Integer> bpTasks, Collection<Integer> nonBpTasks)Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.storm.shade.io.netty.buffer.ByteBufbuffer(org.apache.storm.shade.io.netty.buffer.ByteBufAllocator alloc, KryoValuesSerializer ser)Encoded as -600 ...static BackPressureStatusread(byte[] bytes, KryoValuesDeserializer deserializer)StringtoString()
-
-
-
Field Detail
-
IDENTIFIER
public static final short IDENTIFIER
- See Also:
- Constant Field Values
-
id
public final long id
-
workerId
public String workerId
-
bpTasks
public Collection<Integer> bpTasks
-
nonBpTasks
public Collection<Integer> nonBpTasks
-
-
Constructor Detail
-
BackPressureStatus
public BackPressureStatus()
-
BackPressureStatus
public BackPressureStatus(String workerId, Collection<Integer> bpTasks, Collection<Integer> nonBpTasks)
Constructor.
-
-
Method Detail
-
read
public static BackPressureStatus read(byte[] bytes, KryoValuesDeserializer deserializer)
-
buffer
public org.apache.storm.shade.io.netty.buffer.ByteBuf buffer(org.apache.storm.shade.io.netty.buffer.ByteBufAllocator alloc, KryoValuesSerializer ser) throws IOExceptionEncoded as -600 ... short(2) len ... int(4) payload ... byte[] *- Throws:
IOException
-
-