Class LuaScriptState


  • public class LuaScriptState
    extends Object
    Created by webermarca on 01.07.2016.
    • Method Detail

      • loadLuaScript

        public void loadLuaScript​(RedisCommand redisCommand,
                                  int executionCounter)
        Load the get script into redis and store the sha in the class member sha.
        Parameters:
        redisCommand - the redis command that should be executed, after the script is loaded.
        executionCounter - a counter to control recursion depth
      • getScript

        public String getScript()
      • setScript

        public void setScript​(String script)
      • getLogoutput

        public boolean getLogoutput()
      • setLogoutput

        public void setLogoutput​(boolean logoutput)
      • getSha

        public String getSha()
      • setSha

        public void setSha​(String sha)