public SyncPullEntry() { }
SyncPullEntry(StoredEntry<?> src)
{
final Storable raw = src.getRaw();
key = src.getKey().asStorableKey();
creationTime = src.getCreationTime();
checksum = raw.getContentHash();
checksumForCompressed = raw.getCompressedHash();
if (src.isDeleted()) {
storageSize = -1L;
size = -1L;
} else {
storageSize = raw.getStorageLength();
size = raw.getOriginalLength();
}
compression = raw.getCompression();
lastAccessMethod = src.getLastAccessUpdateMethod();
minTTLSecs = src.getMinTTLSinceAccessSecs();
maxTTLSecs = src.getMaxTTLSecs();
isDeleted = src.isDeleted();