Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- acquire(String, Owner, int, Duration, Duration, int, OptionalInt) - Method in class me.ahoo.cosid.store.redis.RedisStore
C
- close() - Method in class me.ahoo.cosid.store.redis.RedisStore
- connectedReplicas(StatefulRedisConnection<String, String>, Duration) - Static method in class me.ahoo.cosid.store.redis.LettuceRedisScripts
-
The replicas connected to the server, from
INFO replication: whatwait=autowaits for.
D
- DEFAULT_SWEEP_BATCH - Static variable in class me.ahoo.cosid.store.redis.RedisStore
-
How many expired leases one acquire moves to the free set at most.
E
- eval(String, String, List<String>, List<String>) - Method in class me.ahoo.cosid.store.redis.LettuceRedisScripts
- eval(String, String, List<String>, List<String>) - Method in interface me.ahoo.cosid.store.redis.RedisScripts
-
Runs a script, by its SHA-1 digest when Redis has it cached and by its text otherwise (
NOSCRIPT).
F
- fewestReplicas(StatefulRedisClusterConnection<String, String>, Duration) - Static method in class me.ahoo.cosid.store.redis.LettuceRedisScripts
-
The fewest replicas any primary of the cluster has: what
wait=autowaits for (capped at 1 by the provider).
L
- LettuceRedisScripts - Class in me.ahoo.cosid.store.redis
-
RedisScriptson a Lettuce connection, standalone or Redis Cluster (06-stores.md §2.2).
M
- me.ahoo.cosid.store.redis - package me.ahoo.cosid.store.redis
O
- of(StatefulRedisConnection<String, String>, Duration, int) - Static method in class me.ahoo.cosid.store.redis.LettuceRedisScripts
-
Scripts on a standalone (or primary) connection.
- of(StatefulRedisClusterConnection<String, String>, Duration, int) - Static method in class me.ahoo.cosid.store.redis.LettuceRedisScripts
-
Scripts on a Redis Cluster connection; the keys of a call share a hash tag, so it runs on one node.
- open(StoreConfig) - Method in class me.ahoo.cosid.store.redis.RedisStoreProvider
- options() - Method in class me.ahoo.cosid.store.redis.RedisStoreProvider
R
- ranges() - Method in class me.ahoo.cosid.store.redis.RedisStore
- RedisScripts - Interface in me.ahoo.cosid.store.redis
-
The minimal way the Redis store talks to Redis (06-stores.md §2.2, D6): run a Lua script.
- RedisStore - Class in me.ahoo.cosid.store.redis
-
The Redis store (06-stores.md §2.2): both primitives as Lua scripts run through
RedisScripts, stamped by the Redis clock (TIME). - RedisStore(RedisScripts) - Constructor for class me.ahoo.cosid.store.redis.RedisStore
-
A store on the given scripts, with the default sweep batch; closing it closes nothing.
- RedisStore(RedisScripts, int, AutoCloseable) - Constructor for class me.ahoo.cosid.store.redis.RedisStore
-
A store on the given scripts.
- RedisStoreException - Exception Class in me.ahoo.cosid.store.redis
-
A Redis store operation failed: Redis returned an error, did not answer within the store timeout, or the replicas did not acknowledge the write (
WAIT, 06-stores.md §2.2). - RedisStoreException(String) - Constructor for exception class me.ahoo.cosid.store.redis.RedisStoreException
- RedisStoreException(String, Throwable) - Constructor for exception class me.ahoo.cosid.store.redis.RedisStoreException
- RedisStoreProvider - Class in me.ahoo.cosid.store.redis
- RedisStoreProvider() - Constructor for class me.ahoo.cosid.store.redis.RedisStoreProvider
- release(SlotLease, long) - Method in class me.ahoo.cosid.store.redis.RedisStore
- renew(SlotLease, Duration, Duration) - Method in class me.ahoo.cosid.store.redis.RedisStore
- replicas() - Method in class me.ahoo.cosid.store.redis.LettuceRedisScripts
-
How many replicas must acknowledge each write.
- reserve(String, long, long) - Method in class me.ahoo.cosid.store.redis.RedisStore
S
- seal(String) - Method in class me.ahoo.cosid.store.redis.RedisStore
-
Seals the key; a key that does not exist yet is sealed too, so it is never created (S6).
- slots() - Method in class me.ahoo.cosid.store.redis.RedisStore
T
- timeout(String, Throwable) - Static method in exception class me.ahoo.cosid.store.redis.RedisStoreException
-
Redis did not answer within the store timeout: the cause is a
StoreTimeoutExceptionaroundcause, so that the runtime reports the timeout. - type() - Method in class me.ahoo.cosid.store.redis.RedisStoreProvider
- TYPE - Static variable in class me.ahoo.cosid.store.redis.RedisStoreProvider
-
The store type.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form