public class UpdateStatus extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
failedDeletes |
protected List<String> |
failedUpdates |
protected Lock |
listLock |
protected List<String> |
successfulDeletes |
protected List<String> |
successfulUpdates |
| Constructor and Description |
|---|
UpdateStatus() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFailedDelete(String path) |
void |
addFailedUpdate(String path) |
void |
addSuccessfulDelete(String path) |
void |
addSuccessfulUpdate(String path) |
int |
getAttemptedUpdatesAndDeletes() |
List<String> |
getFailedDeletes() |
List<String> |
getFailedUpdates() |
int |
getFailedUpdatesAndDeletes() |
List<String> |
getSuccessfulDeletes() |
List<String> |
getSuccessfulUpdates() |
int |
getSuccessfulUpdatesAndDeletes() |
boolean |
hasBeenUpdatedOrDeleted(String path) |
protected void |
synchronizedAdd(List<String> list,
String path) |
protected List<String> |
synchronizedCopy(List<String> list) |
protected Lock listLock
public void addSuccessfulUpdate(String path)
public void addSuccessfulDelete(String path)
public void addFailedUpdate(String path)
public void addFailedDelete(String path)
public int getFailedUpdatesAndDeletes()
public int getSuccessfulUpdatesAndDeletes()
public int getAttemptedUpdatesAndDeletes()
public boolean hasBeenUpdatedOrDeleted(String path)
Copyright © 2018 CrafterCMS. All rights reserved.