\r
final private static boolean DEBUG = false;\r
final private static Map<String, ClusterSets> sClusterSets = new HashMap<String, ClusterSets>();\r
- private Path writeDirectory;\r
private Path readDirectory;\r
+ private Path writeDirectory;\r
private String databaseId; // Unique identifier for database of session. Initialized in connect. \r
private ClusterSets clusterSets; // Cluster sets for session. Initialized in connect.\r
public ClusterSetsSupportImpl2() {\r
clusterSets.clear();\r
}\r
@Override\r
- public void updateReadAndWriteDirectories(Path read, Path write) {\r
- setDirectories(read, write);\r
- }\r
- \r
- private void setDirectories(Path readDirectory, Path writeDirectory) {\r
- this.readDirectory = readDirectory;\r
- this.writeDirectory = writeDirectory;\r
+ public void updateWriteDirectory(Path write) {\r
+ this.writeDirectory = write;\r
if(clusterSets != null) {\r
clusterSets.setWriteDirectory(writeDirectory.toFile());\r
clusterSets.touch();\r
}\r
}\r
\r
+ @Override\r
+ public void setReadDirectory(Path read) {\r
+ this.readDirectory = read;\r
+ }\r
+\r
}\r