diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2014-04-25 11:17:09 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2014-04-25 11:21:03 +0200 |
commit | 7b301db8c7e3000ff2a04fce5534e45e7d973a1f (patch) | |
tree | 6f1092d7cbe3b8ebe38899777200fe3cf715a9b4 /sonar-batch/src/main/java/org/sonar/batch/index/PersistenceManager.java | |
parent | 5a80556a153a2e771920094228ac2e97dd5e7530 (diff) | |
download | sonarqube-7b301db8c7e3000ff2a04fce5534e45e7d973a1f.tar.gz sonarqube-7b301db8c7e3000ff2a04fce5534e45e7d973a1f.zip |
Revert "SONAR-3437, SONAR-5189 Store measures in a persistit cache"
This reverts commit 46395126b184c343df5471a147cdb48133f59f6f.
Diffstat (limited to 'sonar-batch/src/main/java/org/sonar/batch/index/PersistenceManager.java')
-rw-r--r-- | sonar-batch/src/main/java/org/sonar/batch/index/PersistenceManager.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/index/PersistenceManager.java b/sonar-batch/src/main/java/org/sonar/batch/index/PersistenceManager.java index d90f63d8b66..d42e1a9f2e1 100644 --- a/sonar-batch/src/main/java/org/sonar/batch/index/PersistenceManager.java +++ b/sonar-batch/src/main/java/org/sonar/batch/index/PersistenceManager.java @@ -22,6 +22,7 @@ package org.sonar.batch.index; import org.sonar.api.batch.Event; import org.sonar.api.database.model.Snapshot; import org.sonar.api.design.Dependency; +import org.sonar.api.measures.Measure; import org.sonar.api.resources.Project; import org.sonar.api.resources.ProjectLink; import org.sonar.api.resources.Resource; @@ -31,6 +32,10 @@ import java.util.List; public interface PersistenceManager { void clear(); + void setDelayedMode(boolean b); + + void dump(); + void saveProject(Project project, Project parent); Snapshot saveResource(Project project, Resource resource, Resource parent); @@ -39,6 +44,10 @@ public interface PersistenceManager { String getSource(Resource resource); + void saveMeasure(Resource resource, Measure measure); + + Measure reloadMeasure(Measure measure); + void saveDependency(Project project, Dependency dependency, Dependency parentDependency); void saveLink(Project project, ProjectLink link); |