All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.maryk.rocksdb.WriteBatchSavePoint.kt Maven / Gradle / Ivy

package maryk.rocksdb

/**
 * A structure for describing the save point in the Write Batch.
 */
expect class WriteBatchSavePoint(
    size: Long,
    count: Long,
    contentFlags: Long
) {
    /**
     * Get the size of the serialized representation.
     *
     * @return the size of the serialized representation.
     */
    fun getSize(): Long

    /**
     * Get the number of elements.
     *
     * @return the number of elements.
     */
    fun getCount(): Long

    /**
     * Get the content flags.
     *
     * @return the content flags.
     */
    fun getContentFlags(): Long

    fun isCleared(): Boolean

    fun clear()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy