Constructors

Link copied to clipboard
protected constructor(builder: KvServer.AbstractBuilder<out Any>)

Types

Link copied to clipboard
protected abstract class AbstractBuilder<B : KvServer.AbstractBuilder<B>?>

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
protected val log: Logger
Link copied to clipboard
protected val nodes: Set<HostPort>
Link copied to clipboard
protected val password: String
Link copied to clipboard
Link copied to clipboard
private val running: AtomicBoolean

Functions

Link copied to clipboard
open fun awaitSubscribers(timeoutMs: Long)
Link copied to clipboard
fun close()
Link copied to clipboard
protected abstract fun createRegistrar(): PubSubRegistrar
Link copied to clipboard
abstract fun del(key: KvKey, keyParams: Array<Any>)
Link copied to clipboard
abstract fun get(key: KvKey, keyParams: Array<Any>): String
Link copied to clipboard
protected abstract fun onKvServerStart()
Link copied to clipboard
protected fun onStart()
Link copied to clipboard
protected abstract fun onStop()
Link copied to clipboard
abstract fun publish(channel: KvChannel, message: String, channelParams: Array<Any>)
Link copied to clipboard
abstract fun publishBinary(channel: KvChannel, message: Array<Byte>, channelParams: Array<Any>)
Link copied to clipboard
private open fun <T> registerSet(payloadClass: Class<T>, typeRef: TypeReference<KvSubscriber<T>>, exactRegistrar: Consumer<KvSubscriber<T>>, patternRegistrar: Consumer<KvSubscriber<T>>): Int
Link copied to clipboard
abstract fun set(key: KvKey, value: String, keyParams: Array<Any>)
Link copied to clipboard
abstract fun setWithTtl(key: KvKey, value: String, keyParams: Array<Any>)
Link copied to clipboard
fun start()
Link copied to clipboard