public class SharedDataStoreUtils extends Object
SharedDataStore.| Modifier and Type | Class and Description |
|---|---|
static class |
SharedDataStoreUtils.SharedStoreRecordType
Encapsulates the different type of records at the data store root.
|
| Constructor and Description |
|---|
SharedDataStoreUtils() |
| Modifier and Type | Method and Description |
|---|---|
static DataRecord |
getEarliestRecord(List<DataRecord> recs)
Gets the earliest record of the available reference records.
|
static boolean |
isShared(BlobStore blobStore)
Checks if the blob store shared.
|
static Set<String> |
refsNotAvailableFromRepos(List<DataRecord> repos,
List<DataRecord> refs)
Repositories from which marked references not available.
|
static Set<String> |
refsNotOld(List<DataRecord> repos,
List<DataRecord> refs,
long referenceTime)
Repositories from which marked references older than retention time are not available.
|
public static boolean isShared(BlobStore blobStore)
blobStore - the blob storepublic static DataRecord getEarliestRecord(List<DataRecord> recs)
recs - the recspublic static Set<String> refsNotAvailableFromRepos(List<DataRecord> repos, List<DataRecord> refs)
repos - the reposrefs - the refspublic static Set<String> refsNotOld(List<DataRecord> repos, List<DataRecord> refs, long referenceTime)
repos - the reposrefs - the refsreferenceTime - the retention timeCopyright © 2010 - 2020 Adobe. All Rights Reserved