minTTLSinceAccess = findMinTTLParameter(request, key);
}
if (maxTTL == null) {
maxTTL = findMaxTTLParameter(request, key);
}
LastAccessUpdateMethod lastAcc = _findLastAccessUpdateMethod(request, key);
int minTTLSecs = (minTTLSinceAccess == null) ? findMinTTLDefaultSecs(request, key)
: (int) (minTTLSinceAccess.getMillis() / 1000);
int maxTTLSecs = (maxTTL == null) ? findMaxTTLDefaultSecs(request, key)
: (int) (maxTTL.getMillis() / 1000);
return _entryConverter.createMetadata(creationTime,
((lastAcc == null) ? 0 : lastAcc.asByte()),
minTTLSecs, maxTTLSecs);
}