Package-level declarations

Types

Link copied to clipboard
data class DataSize(val data: Int, val meta: Int)
Link copied to clipboard
data class DocSize(val live: DataSize, val gc: DataSize)
Link copied to clipboard
abstract class IndexTreeNode<T : IndexTreeNode<T>>

IndexTreeNode is the node of IndexTree. It is used to represent the document of text-based editors.

Link copied to clipboard
data class IndexTreeNodeList<E : IndexTreeNode<E>>(delegate: MutableList<E>) : MutableList<E>

This is a specialized MutableList for IndexTree. It is intended to cache active tree nodes list for better performance.

Link copied to clipboard
interface Logger
Link copied to clipboard
Link copied to clipboard
data class TreePos<T : IndexTreeNode<T>>(val node: T, val offset: Int)

TreePos is the position of a node in the tree.

Link copied to clipboard
data class YorkieException(val code: YorkieException.Code, val errorMessage: String) : RuntimeException

YorkieError is an error returned by a Yorkie operation.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun checkYorkieError(value: Boolean, exception: YorkieException)
Link copied to clipboard
fun createSingleThreadDispatcher(threadName: String): ExecutorCoroutineDispatcher
Link copied to clipboard
fun errorCodeOf(exception: ConnectException): String
Link copied to clipboard
fun errorMetadataOf(exception: ConnectException): Map<String, String>?
Link copied to clipboard
fun versionVectorHelper(versionVector: VersionVector, actorData: Array<Pair<String, Long>>): Boolean