Class UpkeepResponse
- java.lang.Object
- 
- edu.uiuc.ncsa.security.storage.monitored.upkeep.UpkeepResponse
 
- 
 public class UpkeepResponse extends Object Created by Jeff Gaynor 
 on 2/14/24 at 11:19 AM
- 
- 
Field SummaryFields Modifier and Type Field Description intarchiveCountThe identifiers (as strings) to archiveList<String>archivedListUpkeepStatsarchivedStatsintattemptedTotal number of deletions attemptedintdeleteCountList<String>deletedListThe identifiers (as strings) to remove.UpkeepStatsdeletedStatsStringnameintretainedCountThe number skipped, i.e., that had retain = true.List<String>retainedListintskippedWould have been deleted normally, but some other rule said to retain.inttestedCountbooleantestModeOnly
 - 
Constructor SummaryConstructors Constructor Description UpkeepResponse()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringformatCollaterals(boolean prettyPrint, int width)Format the contents of the collateral map.Map<String,Long>getCollateralMap()Stringreport(boolean prettyPrint)voidsetCollateralMap(Map<String,Long> collateralMap)net.sf.json.JSONObjecttoJSON()StringtoString()
 
- 
- 
- 
Field Detail- 
attemptedpublic int attempted Total number of deletions attempted
 - 
deleteCountpublic int deleteCount 
 - 
deletedStatspublic UpkeepStats deletedStats 
 - 
archiveCountpublic int archiveCount The identifiers (as strings) to archive
 - 
archivedStatspublic UpkeepStats archivedStats 
 - 
retainedCountpublic int retainedCount The number skipped, i.e., that had retain = true.
 - 
namepublic String name 
 - 
testedCountpublic int testedCount 
 - 
testModeOnlypublic boolean testModeOnly 
 - 
skippedpublic int skipped Would have been deleted normally, but some other rule said to retain.
 
- 
 - 
Method Detail- 
reportpublic String report(boolean prettyPrint) 
 - 
formatCollateralsprotected String formatCollaterals(boolean prettyPrint, int width) Format the contents of the collateral map. This offsets each entry for proper display within the margins.- Parameters:
- prettyPrint-
- width-
- Returns:
 
 - 
toJSONpublic net.sf.json.JSONObject toJSON() 
 
- 
 
-