workspaceStatus = null;
eventManager.fireEvent(new WorkspaceResetEvent(this));
backgroundCommitTask = createBackgroundCommitTask(database);
backgroundCommitTimer.scheduleAtFixedRate(backgroundCommitTask, 0, BACKGROUND_COMMIT_INTERVAL);
} else {
eventManager.fireEvent(new WorkspaceCloseEvent(this));
}
}
}