public class Cache extends Object
| Constructor and Description |
|---|
Cache() |
| Modifier and Type | Method and Description |
|---|---|
long |
getCurrentTime() |
boolean |
isInTime(int cache,
S3BasicFileAttributes fileAttributes)
check if the cache of the S3FileAttributes is still valid
|
public boolean isInTime(int cache,
S3BasicFileAttributes fileAttributes)
cache - int cache time of the fileAttributes in millisecondsfileAttributes - S3FileAttributes to check if is still valid, can be nullpublic long getCurrentTime()
Copyright © 2018. All rights reserved.