/** * Creates a new SyncedFileAttributes using the specifies 'time to live' value. * * @param ttl the attributes' 'time to live', in milliseconds * @param updateAttributesNow if <code>true</code>, attributes are automatically updated */ public SyncedFileAttributes(long ttl, boolean updateAttributesNow) { setTtl(ttl); // also sets the expiration date if(updateAttributesNow) checkForExpiration(true); // force attributes update }