|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeletionService
In order to minimize time required for object deletion it is instead marked for deletion and deleted at a later date.
executeDelayedDeletion()
should be called to cleanup data scheduled for deletion.
Nested Class Summary | |
---|---|
static class |
DeletionService.FireEvent
|
Method Summary | |
---|---|
void |
deletePlan(Plan plan)
|
java.util.Set<PlanKey> |
deletePlans(java.lang.Iterable<java.lang.String> planKeys)
|
void |
deleteProject(Project project)
|
java.util.Set<PlanKey> |
deleteProjects(java.lang.Iterable<java.lang.String> projectKeys)
|
void |
deleteStage(ChainStage chainStage)
|
void |
executeDelayedDeletion()
Cleanup data scheduled for deletion during deletePlan(Plan) |
void |
resumeDeletions()
Resumes delayed deletion. |
void |
suspendDeletions()
Blocks until all currently deleted objects are deleted and then suspends deletions. |
boolean |
suspendDeletions(long secondsToWait)
|
Method Detail |
---|
java.util.Set<PlanKey> deleteProjects(java.lang.Iterable<java.lang.String> projectKeys)
void deleteProject(@NotNull Project project)
void deletePlan(@NotNull Plan plan)
java.util.Set<PlanKey> deletePlans(java.lang.Iterable<java.lang.String> planKeys)
void deleteStage(@NotNull ChainStage chainStage)
void executeDelayedDeletion()
deletePlan(Plan)
void suspendDeletions()
boolean suspendDeletions(long secondsToWait)
void resumeDeletions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |