Class ExporterPositionsDecoder.PositionsDecoder
java.lang.Object
io.camunda.zeebe.clustering.management.ExporterPositionsDecoder.PositionsDecoder
- All Implemented Interfaces:
Iterable<ExporterPositionsDecoder.PositionsDecoder>,Iterator<ExporterPositionsDecoder.PositionsDecoder>
- Enclosing class:
- ExporterPositionsDecoder
public static final class ExporterPositionsDecoder.PositionsDecoder
extends Object
implements Iterable<ExporterPositionsDecoder.PositionsDecoder>, Iterator<ExporterPositionsDecoder.PositionsDecoder>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintappendTo(StringBuilder builder) intcount()static shortstatic shortstatic Stringstatic intstatic intintstatic StringexporterIdMetaAttribute(MetaAttribute metaAttribute) static intintgetExporterId(byte[] dst, int dstOffset, int length) intgetExporterId(org.agrona.MutableDirectBuffer dst, int dstOffset, int length) booleanhasNext()iterator()next()longposition()static intstatic intstatic intstatic longstatic StringpositionMetaAttribute(MetaAttribute metaAttribute) static longstatic longstatic intvoidremove()static intstatic intsbeSkip()intvoidwrap(org.agrona.DirectBuffer buffer) voidwrapExporterId(org.agrona.DirectBuffer wrapBuffer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
HEADER_SIZE
public static final int HEADER_SIZE- See Also:
-
-
Method Details
-
wrap
public void wrap(org.agrona.DirectBuffer buffer) -
next
- Specified by:
nextin interfaceIterator<ExporterPositionsDecoder.PositionsDecoder>
-
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
- Specified by:
iteratorin interfaceIterable<ExporterPositionsDecoder.PositionsDecoder>
-
remove
public void remove()- Specified by:
removein interfaceIterator<ExporterPositionsDecoder.PositionsDecoder>
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<ExporterPositionsDecoder.PositionsDecoder>
-
positionId
public static int positionId() -
positionSinceVersion
public static int positionSinceVersion() -
positionEncodingOffset
public static int positionEncodingOffset() -
positionEncodingLength
public static int positionEncodingLength() -
positionMetaAttribute
-
positionNullValue
public static long positionNullValue() -
positionMinValue
public static long positionMinValue() -
positionMaxValue
public static long positionMaxValue() -
position
public long position() -
exporterIdId
public static int exporterIdId() -
exporterIdSinceVersion
public static int exporterIdSinceVersion() -
exporterIdCharacterEncoding
-
exporterIdMetaAttribute
-
exporterIdHeaderLength
public static int exporterIdHeaderLength() -
exporterIdLength
public int exporterIdLength() -
skipExporterId
public int skipExporterId() -
getExporterId
public int getExporterId(org.agrona.MutableDirectBuffer dst, int dstOffset, int length) -
getExporterId
public int getExporterId(byte[] dst, int dstOffset, int length) -
wrapExporterId
public void wrapExporterId(org.agrona.DirectBuffer wrapBuffer) -
exporterId
-
appendTo
-
sbeSkip
-