Package | Description |
---|---|
nl.knaw.dans.rs.aggregator.sync |
Workers collectors and default implementations for ResourceSync synchronisation at a Destination.
|
nl.knaw.dans.rs.aggregator.syncore |
Core classes and interfaces for ResourceSync synchronisation at a Destination.
|
Modifier and Type | Method and Description |
---|---|
VerificationStatus |
FsResourceManager.verifyHash(URI normalizedURI,
String algorithm,
String hash) |
VerificationStatus |
FsResourceManager.verifyLastModified(URI normalizedURI,
ZonedDateTime lastModified) |
VerificationStatus |
FsResourceManager.verifySize(URI normalizedURI,
long size) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultVerificationPolicy.continueVerification(VerificationStatus stHash,
VerificationStatus stLastMod,
VerificationStatus stSize) |
boolean |
DefaultVerificationPolicy.isVerified(VerificationStatus stHash,
VerificationStatus stLastMod,
VerificationStatus stSize) |
boolean |
DefaultVerificationPolicy.repeatDownload(VerificationStatus stHash,
VerificationStatus stLastMod,
VerificationStatus stSize) |
Modifier and Type | Method and Description |
---|---|
static VerificationStatus |
VerificationStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VerificationStatus[] |
VerificationStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
VerificationStatus |
ResourceManager.verifyHash(URI normalizedURI,
String algorithm,
String hash)
Verify the
hash of the resource that is identified by the given normalizedURI ,
computed with the indicated algorithm . |
VerificationStatus |
ResourceManager.verifyLastModified(URI normalizedURI,
ZonedDateTime lastModified)
Verify the last modified date of the resource that is identified by the given
normalizedURI . |
VerificationStatus |
ResourceManager.verifySize(URI normalizedURI,
long size)
Verify the size in bytes of the resource that is identified by the given
normalizedURI . |
Modifier and Type | Method and Description |
---|---|
boolean |
VerificationPolicy.continueVerification(VerificationStatus stHash,
VerificationStatus stLastMod,
VerificationStatus stSize)
Should successive verifications go on, given the status of verifications.
|
boolean |
VerificationPolicy.isVerified(VerificationStatus stHash,
VerificationStatus stLastMod,
VerificationStatus stSize)
Can the resource be marked as verified, given the status of verifications.
|
boolean |
VerificationPolicy.repeatDownload(VerificationStatus stHash,
VerificationStatus stLastMod,
VerificationStatus stSize)
Should we repeat the download of a resource, given the status of verifications.
|
Copyright © 2017. All rights reserved.