NOISIF Platform
Toggle table of contents
80ccce4
java
Target filter
java
Switch theme
Search in API
Skip to content
NOISIF Platform
NSL KV
/
xyz.noisif.nsl.kv.jedis
/
JedisServer
Jedis
Server
open
class
JedisServer
:
KvServer
,
ScriptableKeyValueStore
Members
Constructors
Jedis
Server
Link copied to clipboard
private
constructor
(
builder
:
JedisServer.Builder
)
Types
Builder
Link copied to clipboard
open
class
Builder
:
KvServer.AbstractBuilder
<
JedisServer.Builder
>
Properties
client
Factory
Link copied to clipboard
private
val
clientFactory
:
JedisClientFactory
component
Provider
Link copied to clipboard
protected
val
componentProvider
:
ComponentProvider
initialized
Link copied to clipboard
private
val
initialized
:
AtomicBoolean
kv
Scripts
Link copied to clipboard
private
val
kvScripts
:
Set
<
KvScript
>
kv
Scripts
Base
Path
Link copied to clipboard
private
val
kvScriptsBasePath
:
String
log
Link copied to clipboard
protected
val
log
:
Logger
nodes
Link copied to clipboard
protected
val
nodes
:
Set
<
HostPort
>
password
Link copied to clipboard
protected
val
password
:
String
pool
Max
Idle
Link copied to clipboard
private
val
poolMaxIdle
:
Int
pool
Max
Total
Link copied to clipboard
private
val
poolMaxTotal
:
Int
pool
Min
Idle
Link copied to clipboard
private
val
poolMinIdle
:
Int
redis
Client
Link copied to clipboard
private
open
var
redisClient
:
UnifiedJedis
registered
Subscribers
Link copied to clipboard
private
val
registeredSubscribers
:
Collection
<
KvSubscriber
<
out
Any
>
>
running
Link copied to clipboard
private
val
running
:
AtomicBoolean
script
Cache
Manager
Link copied to clipboard
private
open
var
scriptCacheManager
:
ScriptCacheManager
Functions
await
Subscribers
Link copied to clipboard
open
fun
awaitSubscribers
(
timeoutMs
:
Long
)
builder
Link copied to clipboard
open
fun
builder
(
)
:
JedisServer.Builder
close
Link copied to clipboard
fun
close
(
)
create
Registrar
Link copied to clipboard
protected
open
fun
createRegistrar
(
)
:
PubSubRegistrar
del
Link copied to clipboard
open
fun
del
(
key
:
KvKey
,
keyParams
:
Array
<
Any
>
)
eval
Link copied to clipboard
open
fun
eval
(
scriptKey
:
KvScript
,
keys
:
List
<
String
>
,
args
:
List
<
String
>
)
:
Any
open
fun
eval
(
scriptKey
:
KvScript
)
:
Any
open
fun
eval
(
scriptKey
:
KvScript
,
keys
:
List
<
String
>
)
:
Any
get
Link copied to clipboard
open
fun
get
(
key
:
KvKey
,
keyParams
:
Array
<
Any
>
)
:
String
on
Kv
Server
Start
Link copied to clipboard
protected
fun
onKvServerStart
(
)
on
Start
Link copied to clipboard
protected
abstract
fun
onStart
(
)
protected
fun
onStart
(
)
on
Stop
Link copied to clipboard
protected
fun
onStop
(
)
publish
Link copied to clipboard
open
fun
publish
(
channel
:
KvChannel
,
message
:
String
,
channelParams
:
Array
<
Any
>
)
publish
Binary
Link copied to clipboard
open
fun
publishBinary
(
channel
:
KvChannel
,
message
:
Array
<
Byte
>
,
channelParams
:
Array
<
Any
>
)
set
Link copied to clipboard
open
fun
set
(
key
:
KvKey
,
value
:
String
,
keyParams
:
Array
<
Any
>
)
set
With
Ttl
Link copied to clipboard
open
fun
setWithTtl
(
key
:
KvKey
,
value
:
String
,
keyParams
:
Array
<
Any
>
)
start
Link copied to clipboard
fun
start
(
)
translate
Exception
Link copied to clipboard
protected
open
fun
translateException
(
ex
:
Exception
)
:
RuntimeException