Package io.zeebe.engine.state.instance
Class IndexedRecord
- java.lang.Object
-
- io.zeebe.msgpack.value.BaseValue
-
- io.zeebe.msgpack.value.ObjectValue
-
- io.zeebe.msgpack.UnpackedObject
-
- io.zeebe.engine.state.instance.IndexedRecord
-
- All Implemented Interfaces:
DbValue,Recyclable,BufferReader,BufferWriter
public final class IndexedRecord extends UnpackedObject implements DbValue
-
-
Field Summary
-
Fields inherited from class io.zeebe.msgpack.UnpackedObject
reader, writer
-
-
Constructor Summary
Constructors Constructor Description IndexedRecord(long key, WorkflowInstanceIntent instanceState, WorkflowInstanceRecord record)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetKey()WorkflowInstanceIntentgetState()WorkflowInstanceRecordgetValue()booleanhasState(WorkflowInstanceIntent state)IndexedRecordsetKey(long key)IndexedRecordsetState(WorkflowInstanceIntent state)IndexedRecordsetValue(WorkflowInstanceRecord value)voidwrap(org.agrona.DirectBuffer buffer, int offset, int length)-
Methods inherited from class io.zeebe.msgpack.UnpackedObject
getLength, wrap, write
-
Methods inherited from class io.zeebe.msgpack.value.ObjectValue
declareProperty, equals, getEncodedLength, hashCode, read, reset, write, writeJSON
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.zeebe.util.buffer.BufferWriter
getLength, write
-
Methods inherited from interface io.zeebe.msgpack.Recyclable
reset
-
-
-
-
Constructor Detail
-
IndexedRecord
public IndexedRecord(long key, WorkflowInstanceIntent instanceState, WorkflowInstanceRecord record)
-
-
Method Detail
-
getKey
public long getKey()
-
setKey
public IndexedRecord setKey(long key)
-
getState
public WorkflowInstanceIntent getState()
-
setState
public IndexedRecord setState(WorkflowInstanceIntent state)
-
hasState
public boolean hasState(WorkflowInstanceIntent state)
-
getValue
public WorkflowInstanceRecord getValue()
-
setValue
public IndexedRecord setValue(WorkflowInstanceRecord value)
-
wrap
public void wrap(org.agrona.DirectBuffer buffer, int offset, int length)- Specified by:
wrapin interfaceBufferReader- Overrides:
wrapin classUnpackedObject
-
-