public class FileCacheKey extends Object
Constructor and Description |
---|
FileCacheKey(Path file,
long capacity)
Construct a new File Cache Key
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getCapacity()
Get the capacity of this file
|
Path |
getFile()
Get the file that this key represents
|
int |
hashCode() |
public FileCacheKey(Path file, long capacity)
file
- an absolute path to the filecapacity
- the capacity of the filepublic Path getFile()
public long getCapacity()
Copyright © 2016–2021. All rights reserved.