test_class.declarator: INTERPRETER_SCRIPT =
            System.getProperty("os.name").startsWith("Windows") ?
                    "../bin/interpreter.cmd" :
                    "../bin/interpreter.sh"
test_class.modifier: private static final
test_class.original_string: private static final String INTERPRETER_SCRIPT =
            System.getProperty("os.name").startsWith("Windows") ?
                    "../bin/interpreter.cmd" :
                    "../bin/interpreter.sh";
test_class.type: String
test_class.var_name: INTERPRETER_SCRIPT
test_class.declarator: intpGroup1
test_class.modifier: private
test_class.original_string: private InterpreterGroup intpGroup1;
test_class.type: InterpreterGroup
test_class.var_name: intpGroup1
test_class.declarator: intpGroup2
test_class.modifier: private
test_class.original_string: private InterpreterGroup intpGroup2;
test_class.type: InterpreterGroup
test_class.var_name: intpGroup2
test_class.declarator: env
test_class.modifier: private
test_class.original_string: private HashMap<String, String> env;
test_class.type: HashMap<String, String>
test_class.var_name: env
test_class.declarator: intp1
test_class.modifier: private
test_class.original_string: private RemoteInterpreter intp1;
test_class.type: RemoteInterpreter
test_class.var_name: intp1
test_class.declarator: intp2
test_class.modifier: private
test_class.original_string: private RemoteInterpreter intp2;
test_class.type: RemoteInterpreter
test_class.var_name: intp2
test_class.declarator: context
test_class.modifier: private
test_class.original_string: private InterpreterContext context;
test_class.type: InterpreterContext
test_class.var_name: context
test_class.declarator: eventPoller1
test_class.modifier: private
test_class.original_string: private RemoteInterpreterEventPoller eventPoller1;
test_class.type: RemoteInterpreterEventPoller
test_class.var_name: eventPoller1
test_class.declarator: eventPoller2
test_class.modifier: private
test_class.original_string: private RemoteInterpreterEventPoller eventPoller2;
test_class.type: RemoteInterpreterEventPoller
test_class.var_name: eventPoller2
test_class.file: smart-zeppelin/zeppelin-interpreter/src/test/java/org/apache/zeppelin/resource/DistributedResourcePoolTest.java
test_class.identifier: DistributedResourcePoolTest
test_case.body: @Test
    public void testRemoteDistributedResourcePool() {
      Gson gson = new Gson();
      InterpreterResult ret;
      intp1.interpret("put key1 value1", context);
      intp2.interpret("put key2 value2", context);
  
      ret = intp1.interpret("getAll", context);
      assertEquals(2, gson.fromJson(ret.message().get(0).getData(), ResourceSet.class).size());
  
      ret = intp2.interpret("getAll", context);
      assertEquals(2, gson.fromJson(ret.message().get(0).getData(), ResourceSet.class).size());
  
      ret = intp1.interpret("get key1", context);
      assertEquals("value1", gson.fromJson(ret.message().get(0).getData(), String.class));
  
      ret = intp1.interpret("get key2", context);
      assertEquals("value2", gson.fromJson(ret.message().get(0).getData(), String.class));
    }
test_case.class_method_signature: DistributedResourcePoolTest.testRemoteDistributedResourcePool()
test_case.full_signature: @Test public void testRemoteDistributedResourcePool()
test_case.identifier: testRemoteDistributedResourcePool
test_case.invocations: interpret interpret interpret assertEquals size fromJson getData get message interpret assertEquals size fromJson getData get message interpret assertEquals fromJson getData get message interpret assertEquals fromJson getData get message
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testRemoteDistributedResourcePool()
focal_class.declarator: connector
focal_class.modifier: private final
focal_class.original_string: private final ResourcePoolConnector connector;
focal_class.type: ResourcePoolConnector
focal_class.var_name: connector
focal_class.file: smart-zeppelin/zeppelin-interpreter/src/main/java/org/apache/zeppelin/resource/DistributedResourcePool.java
focal_class.identifier: DistributedResourcePool
focal_class.class_method_signature: DistributedResourcePool.DistributedResourcePool(String id, ResourcePoolConnector connector)
focal_class.full_signature: public  DistributedResourcePool(String id, ResourcePoolConnector connector)
focal_class.identifier: DistributedResourcePool
focal_class.modifiers: public
focal_class.parameters: (String id, ResourcePoolConnector connector)
focal_class.signature:  DistributedResourcePool(String id, ResourcePoolConnector connector)
focal_class.class_method_signature: DistributedResourcePool.get(String name)
focal_class.full_signature: @Override public Resource get(String name)
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: Resource
focal_class.signature: Resource get(String name)
focal_class.class_method_signature: DistributedResourcePool.get(String noteId, String paragraphId, String name)
focal_class.full_signature: @Override public Resource get(String noteId, String paragraphId, String name)
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: (String noteId, String paragraphId, String name)
focal_class.return: Resource
focal_class.signature: Resource get(String noteId, String paragraphId, String name)
focal_class.class_method_signature: DistributedResourcePool.get(String name, boolean remote)
focal_class.full_signature: public Resource get(String name, boolean remote)
focal_class.identifier: get
focal_class.modifiers: public
focal_class.parameters: (String name, boolean remote)
focal_class.return: Resource
focal_class.signature: Resource get(String name, boolean remote)
focal_class.class_method_signature: DistributedResourcePool.get(String noteId, String paragraphId, String name, boolean remote)
focal_class.full_signature: public Resource get(String noteId, String paragraphId, String name, boolean remote)
focal_class.identifier: get
focal_class.modifiers: public
focal_class.parameters: (String noteId, String paragraphId, String name, boolean remote)
focal_class.return: Resource
focal_class.signature: Resource get(String noteId, String paragraphId, String name, boolean remote)
focal_class.class_method_signature: DistributedResourcePool.getAll()
focal_class.full_signature: @Override public ResourceSet getAll()
focal_class.identifier: getAll
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ResourceSet
focal_class.signature: ResourceSet getAll()
focal_class.class_method_signature: DistributedResourcePool.getAll(boolean remote)
focal_class.full_signature: public ResourceSet getAll(boolean remote)
focal_class.identifier: getAll
focal_class.modifiers: public
focal_class.parameters: (boolean remote)
focal_class.return: ResourceSet
focal_class.signature: ResourceSet getAll(boolean remote)
focal_class.superclass: extends LocalResourcePool
focal_method.body: @Override
    public Resource get(String name) {
      return get(name, true);
    }
focal_method.class_method_signature: DistributedResourcePool.get(String name)
focal_method.full_signature: @Override public Resource get(String name)
focal_method.identifier: get
focal_method.invocations: get
focal_method.modifiers: @Override public
focal_method.parameters: (String name)
focal_method.return: Resource
focal_method.signature: Resource get(String name)