Class ScriptKt
-
- All Implemented Interfaces:
public final class ScriptKt
-
-
Method Summary
Modifier and Type Method Description final static StringscriptLoad(ValkeyConnection $self, String script)final static StringscriptLoad(ValkeyConnectionPool $self, String script)final static UnitscriptLoad(ValkeyPipelineBuilder $self, String script, Function1<String, Unit> onResult)final static List<Boolean>scriptExists(ValkeyConnection $self, String sha1s)final static List<Boolean>scriptExists(ValkeyConnectionPool $self, String sha1s)final static UnitscriptExists(ValkeyPipelineBuilder $self, String sha1s, Function1<List<Boolean>, Unit> onResult)final static UnitscriptFlush(ValkeyConnection $self, ScriptFlushMode mode)final static UnitscriptFlush(ValkeyConnectionPool $self, ScriptFlushMode mode)final static UnitscriptFlush(ValkeyPipelineBuilder $self, ScriptFlushMode mode)-
-
Method Detail
-
scriptLoad
final static String scriptLoad(ValkeyConnection $self, String script)
-
scriptLoad
final static String scriptLoad(ValkeyConnectionPool $self, String script)
-
scriptLoad
final static Unit scriptLoad(ValkeyPipelineBuilder $self, String script, Function1<String, Unit> onResult)
- Parameters:
onResult-called with the SHA1 digest of the script, to be used with EVALSHA
-
scriptExists
final static List<Boolean> scriptExists(ValkeyConnection $self, String sha1s)
-
scriptExists
final static List<Boolean> scriptExists(ValkeyConnectionPool $self, String sha1s)
-
scriptExists
final static Unit scriptExists(ValkeyPipelineBuilder $self, String sha1s, Function1<List<Boolean>, Unit> onResult)
- Parameters:
onResult-called with whether each script exists in the script cache, in the order of sha1s
-
scriptFlush
final static Unit scriptFlush(ValkeyConnection $self, ScriptFlushMode mode)
-
scriptFlush
final static Unit scriptFlush(ValkeyConnectionPool $self, ScriptFlushMode mode)
-
scriptFlush
final static Unit scriptFlush(ValkeyPipelineBuilder $self, ScriptFlushMode mode)
-
-
-
-