Comments only. No code changes.
This commit is contained in:
parent
3500f20e47
commit
190a031a8a
@ -98,6 +98,9 @@ public class Project {
|
||||
this.history = new History(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Free/dispose of project data from memory.
|
||||
*/
|
||||
public void dispose() {
|
||||
for (OverlayModel overlayModel : overlayModels.values()) {
|
||||
try {
|
||||
@ -107,6 +110,7 @@ public class Project {
|
||||
}
|
||||
}
|
||||
ProjectManager.singleton.getInterProjectModel().flushJoinsInvolvingProject(this.id);
|
||||
// The rest of the project should get garbage collected when we return.
|
||||
}
|
||||
|
||||
public Date getLastSave(){
|
||||
|
@ -55,6 +55,10 @@ import com.google.refine.RefineServlet;
|
||||
import com.google.refine.model.Recon;
|
||||
import com.google.refine.model.ReconCandidate;
|
||||
|
||||
/**
|
||||
* A serializable pool of ReconCandidates indexed by ID.
|
||||
*
|
||||
*/
|
||||
public class Pool implements Jsonizable {
|
||||
final protected Map<String, Recon> recons = new HashMap<String, Recon>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user