test_class.declarator: TEST_SERVER = "test.localhost"
test_class.modifier: private static final
test_class.original_string: private static final String TEST_SERVER = "test.localhost";
test_class.type: String
test_class.var_name: TEST_SERVER
test_class.declarator: servers = new HashSet<>(Collections.singleton(TEST_SERVER))
test_class.modifier: private final
test_class.original_string: private final Set<String> servers = new HashSet<>(Collections.singleton(TEST_SERVER));
test_class.type: Set<String>
test_class.var_name: servers
test_class.declarator: manager = new ClusterDiskSpaceManager(servers)
test_class.modifier: private final
test_class.original_string: private final ClusterDiskSpaceManager manager = new ClusterDiskSpaceManager(servers);
test_class.type: ClusterDiskSpaceManager
test_class.var_name: manager
test_class.file: harahachibu/src/test/java/uk/co/flax/harahachibu/services/ClusterDiskSpaceManagerTest.java
test_class.identifier: ClusterDiskSpaceManagerTest
test_case.body: @Test(expected = uk.co.flax.harahachibu.services.DiskSpaceCheckerException.class)
  	public void throwsExceptionWhenServerNotKnown() throws Exception {
  		manager.setDiskSpace("blah", new DiskSpace(0, 0));
  	}
test_case.class_method_signature: ClusterDiskSpaceManagerTest.throwsExceptionWhenServerNotKnown()
test_case.full_signature: @Test(expected = uk.co.flax.harahachibu.services.DiskSpaceCheckerException.class) public void throwsExceptionWhenServerNotKnown()
test_case.identifier: throwsExceptionWhenServerNotKnown
test_case.invocations: setDiskSpace
test_case.modifiers: @Test(expected = uk.co.flax.harahachibu.services.DiskSpaceCheckerException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void throwsExceptionWhenServerNotKnown()
focal_class.declarator: servers
focal_class.modifier: private final
focal_class.original_string: private final Set<String> servers;
focal_class.type: Set<String>
focal_class.var_name: servers
focal_class.declarator: diskSpaceMap = new ConcurrentHashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, DiskSpace> diskSpaceMap = new ConcurrentHashMap<>();
focal_class.type: Map<String, DiskSpace>
focal_class.var_name: diskSpaceMap
focal_class.file: harahachibu/src/main/java/uk/co/flax/harahachibu/services/ClusterDiskSpaceManager.java
focal_class.identifier: ClusterDiskSpaceManager
focal_class.class_method_signature: ClusterDiskSpaceManager.ClusterDiskSpaceManager(Set<String> servers)
focal_class.full_signature: public  ClusterDiskSpaceManager(Set<String> servers)
focal_class.identifier: ClusterDiskSpaceManager
focal_class.modifiers: public
focal_class.parameters: (Set<String> servers)
focal_class.signature:  ClusterDiskSpaceManager(Set<String> servers)
focal_class.class_method_signature: ClusterDiskSpaceManager.setDiskSpace(String server, DiskSpace space)
focal_class.full_signature: public void setDiskSpace(String server, DiskSpace space)
focal_class.identifier: setDiskSpace
focal_class.modifiers: public
focal_class.parameters: (String server, DiskSpace space)
focal_class.return: void
focal_class.signature: void setDiskSpace(String server, DiskSpace space)
focal_class.class_method_signature: ClusterDiskSpaceManager.getDiskSpace()
focal_class.full_signature: public Map<String, DiskSpace> getDiskSpace()
focal_class.identifier: getDiskSpace
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<String, DiskSpace>
focal_class.signature: Map<String, DiskSpace> getDiskSpace()
focal_class.class_method_signature: ClusterDiskSpaceManager.getServers()
focal_class.full_signature: public Set<String> getServers()
focal_class.identifier: getServers
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Set<String>
focal_class.signature: Set<String> getServers()
focal_method.body: public void setDiskSpace(String server, DiskSpace space) throws DiskSpaceCheckerException {
  		if (!servers.contains(server)) {
  			throw new DiskSpaceCheckerException("Unrecognised server " + server);
  		}
  
  		diskSpaceMap.put(server, space);
  	}
focal_method.class_method_signature: ClusterDiskSpaceManager.setDiskSpace(String server, DiskSpace space)
focal_method.full_signature: public void setDiskSpace(String server, DiskSpace space)
focal_method.identifier: setDiskSpace
focal_method.invocations: contains put
focal_method.modifiers: public
focal_method.parameters: (String server, DiskSpace space)
focal_method.return: void
focal_method.signature: void setDiskSpace(String server, DiskSpace space)