Package io.zeebe.protocol.record
Class BrokerInfoDecoder.PartitionHealthDecoder
- java.lang.Object
-
- io.zeebe.protocol.record.BrokerInfoDecoder.PartitionHealthDecoder
-
- All Implemented Interfaces:
Iterable<BrokerInfoDecoder.PartitionHealthDecoder>,Iterator<BrokerInfoDecoder.PartitionHealthDecoder>
- Enclosing class:
- BrokerInfoDecoder
public static final class BrokerInfoDecoder.PartitionHealthDecoder extends Object implements Iterable<BrokerInfoDecoder.PartitionHealthDecoder>, Iterator<BrokerInfoDecoder.PartitionHealthDecoder>
-
-
Field Summary
Fields Modifier and Type Field Description static intHEADER_SIZE
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Field Detail
-
HEADER_SIZE
public static final int HEADER_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
wrap
public void wrap(org.agrona.DirectBuffer buffer)
-
next
public BrokerInfoDecoder.PartitionHealthDecoder next()
- Specified by:
nextin interfaceIterator<BrokerInfoDecoder.PartitionHealthDecoder>
-
countMinValue
public static short countMinValue()
-
countMaxValue
public static short countMaxValue()
-
sbeHeaderSize
public static int sbeHeaderSize()
-
sbeBlockLength
public static int sbeBlockLength()
-
actingBlockLength
public int actingBlockLength()
-
count
public int count()
-
iterator
public Iterator<BrokerInfoDecoder.PartitionHealthDecoder> iterator()
- Specified by:
iteratorin interfaceIterable<BrokerInfoDecoder.PartitionHealthDecoder>
-
remove
public void remove()
- Specified by:
removein interfaceIterator<BrokerInfoDecoder.PartitionHealthDecoder>
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<BrokerInfoDecoder.PartitionHealthDecoder>
-
partitionIdId
public static int partitionIdId()
-
partitionIdSinceVersion
public static int partitionIdSinceVersion()
-
partitionIdEncodingOffset
public static int partitionIdEncodingOffset()
-
partitionIdEncodingLength
public static int partitionIdEncodingLength()
-
partitionIdMetaAttribute
public static String partitionIdMetaAttribute(MetaAttribute metaAttribute)
-
partitionIdNullValue
public static int partitionIdNullValue()
-
partitionIdMinValue
public static int partitionIdMinValue()
-
partitionIdMaxValue
public static int partitionIdMaxValue()
-
partitionId
public int partitionId()
-
healthStatusId
public static int healthStatusId()
-
healthStatusSinceVersion
public static int healthStatusSinceVersion()
-
healthStatusEncodingOffset
public static int healthStatusEncodingOffset()
-
healthStatusEncodingLength
public static int healthStatusEncodingLength()
-
healthStatusMetaAttribute
public static String healthStatusMetaAttribute(MetaAttribute metaAttribute)
-
healthStatusRaw
public short healthStatusRaw()
-
healthStatus
public PartitionHealthStatus healthStatus()
-
appendTo
public StringBuilder appendTo(StringBuilder builder)
-
-