Class GridRedisClient
java.lang.Object
org.openqa.selenium.redis.GridRedisClient
- All Implemented Interfaces:
Closeable, AutoCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAllNodeAvailability(Availability availability, Set<NodeId> nodes) voidaddNode(NodeStatus node) voidaddNodeAvailability(Availability availability, NodeStatus node) voidclose()voidvoid@Nullable String@Nullable LonggetKeysByPattern(String pattern) booleangetNodeAvailability(Availability availability, NodeId id) getNodesByAvailability(Availability availability) longbooleanisOpen()longReturns the number of elements in the list stored atkey.voidPrepends a value to the head of the list stored atkey.Returns the elements of the list stored atkeywithin the inclusive range.longRemoves all occurrences ofvaluefrom the list stored atkey, returning the number of elements removed.voidvoidremoveAllNodeAvailability(Availability availability, Set<NodeId> nodes) voidremoveAllNodes(Set<NodeId> nodeIds) voidremoveNode(NodeId id) voidremoveNodeAvailability(Availability availability, NodeStatus node) voidAppends a value to the tail of the list stored atkey.voidbooleansetIfAbsent(String key, String value) Returns true if the key was set (no TTL variant).booleansetIfAbsent(String key, String value, long ttlMillis) Returns true if the key was set (caller won the race), false if already present.voidsetWithTtl(String key, String value, long ttlMillis)
-
Constructor Details
-
GridRedisClient
-
-
Method Details
-
getConnection
-
mset
-
mget
-
get
-
getKeysByPattern
-
set
-
setWithTtl
-
setIfAbsent
-
setIfAbsent
-
expire
-
rpush
-
lpush
-
lrange
-
lrem
-
llen
Returns the number of elements in the list stored atkey. -
getAsLong
-
incr
-
isOpen
public boolean isOpen() -
del
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
addNodeAvailability
-
removeNodeAvailability
-
addAllNodeAvailability
-
removeAllNodeAvailability
-
getNodeAvailability
-
getNodesByAvailability
-
addNode
-
removeNode
-
getNode
-
removeAllNodes
-
getNodes
-
getAllNodes
-