public class DefaultFileCacheListener extends Object implements FileCacheListener
| Constructor and Description |
|---|
DefaultFileCacheListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
cacheable(FileCollection files)
Indicates that the given files are cacheable, and are not expected to change until invalidated.
|
void |
invalidate(FileCollection files)
Indicates that the given files may have changed, and should no longer be considered cacheable.
|
void |
invalidateAll()
Indicates that any file may have changed, and should no longer be considered cacheable.
|
public void cacheable(FileCollection files)
FileCacheListenercacheable in interface FileCacheListenerpublic void invalidate(FileCollection files)
FileCacheListenerinvalidate in interface FileCacheListenerpublic void invalidateAll()
FileCacheListenerinvalidateAll in interface FileCacheListenerCopyright © 2013. All rights reserved