Package io.zeebe.protocol.record
Class BrokerInfoDecoder.PartitionLeaderTermsDecoder
- java.lang.Object
-
- io.zeebe.protocol.record.BrokerInfoDecoder.PartitionLeaderTermsDecoder
-
- All Implemented Interfaces:
Iterable<BrokerInfoDecoder.PartitionLeaderTermsDecoder>,Iterator<BrokerInfoDecoder.PartitionLeaderTermsDecoder>
- Enclosing class:
- BrokerInfoDecoder
public static final class BrokerInfoDecoder.PartitionLeaderTermsDecoder extends Object implements Iterable<BrokerInfoDecoder.PartitionLeaderTermsDecoder>, Iterator<BrokerInfoDecoder.PartitionLeaderTermsDecoder>
-
-
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.PartitionLeaderTermsDecoder next()
- Specified by:
nextin interfaceIterator<BrokerInfoDecoder.PartitionLeaderTermsDecoder>
-
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.PartitionLeaderTermsDecoder> iterator()
- Specified by:
iteratorin interfaceIterable<BrokerInfoDecoder.PartitionLeaderTermsDecoder>
-
remove
public void remove()
- Specified by:
removein interfaceIterator<BrokerInfoDecoder.PartitionLeaderTermsDecoder>
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<BrokerInfoDecoder.PartitionLeaderTermsDecoder>
-
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()
-
termId
public static int termId()
-
termSinceVersion
public static int termSinceVersion()
-
termEncodingOffset
public static int termEncodingOffset()
-
termEncodingLength
public static int termEncodingLength()
-
termMetaAttribute
public static String termMetaAttribute(MetaAttribute metaAttribute)
-
termNullValue
public static long termNullValue()
-
termMinValue
public static long termMinValue()
-
termMaxValue
public static long termMaxValue()
-
term
public long term()
-
appendTo
public StringBuilder appendTo(StringBuilder builder)
-
-