/// <summary> /// Set the value of the current active partition index for the producer using memory ordered semantics. /// </summary> /// <param name="logMetaDataBuffer"> containing the meta data. </param> /// <param name="activePartitionIndex"> value of the active partition index used by the producer of this log. </param> public static void ActivePartitionIndex(UnsafeBuffer logMetaDataBuffer, int activePartitionIndex) { logMetaDataBuffer.PutIntOrdered(LOG_ACTIVE_PARTITION_INDEX_OFFSET, activePartitionIndex); }