Class ScriptResolver


  • public final class ScriptResolver
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ScriptResolver()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void dropScript​(java.lang.String sha1)  
      static java.lang.String storeScript​(byte[] code)
      Loads a Lua script into the scripts cache, without executing it.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScriptResolver

        public ScriptResolver()
    • Method Detail

      • storeScript

        public static java.lang.String storeScript​(byte[] code)
        Loads a Lua script into the scripts cache, without executing it.
        Parameters:
        code - The Lua script
        Returns:
        String representing the saved hash
      • dropScript

        public static void dropScript​(java.lang.String sha1)