FileCache.
| Modifier and Type | Class and Description |
|---|---|
| public static class | FileCacheProbe.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | onEntryAddedEvent(FileCache
FileCache, the event belongs to.FileCacheEntry been added.Method will be called, when file cache entry gets added. |
| public void | onEntryHitEvent(FileCache
FileCache, the event belongs to.FileCacheEntry been hitted.Method will be called, when file cache entry gets hit. |
| public void | onEntryMissedEvent(FileCache
FileCache, the event belongs to.the requested HTTP "Host" header. host, String the requested HTTP URL. requestURI)Method will be called, when file cache entry is missed for some resource. |
| public void | onEntryRemovedEvent(FileCache
FileCache, the event belongs to.FileCacheEntry been removed.Method will be called, when file cache entry gets removed. |
| public void | onErrorEvent(FileCache
FileCache, the event belongs to.error error)Method will be called, when error occurs on the |
| onEntryAddedEvent | back to summary |
|---|---|
| public void onEntryAddedEvent(FileCache fileCache, FileCacheEntry entry) Method will be called, when file cache entry gets added.
| |
| onEntryHitEvent | back to summary |
|---|---|
| public void onEntryHitEvent(FileCache fileCache, FileCacheEntry entry) Method will be called, when file cache entry gets hit.
| |
| onEntryMissedEvent | back to summary |
|---|---|
| public void onEntryMissedEvent(FileCache fileCache, String host, String requestURI) Method will be called, when file cache entry is missed for some resource. | |
| onEntryRemovedEvent | back to summary |
|---|---|
| public void onEntryRemovedEvent(FileCache fileCache, FileCacheEntry entry) Method will be called, when file cache entry gets removed.
| |
| onErrorEvent | back to summary |
|---|---|
| public void onErrorEvent(FileCache fileCache, Throwable error) Method will be called, when error occurs on the | |
FileCacheProbe adapter that provides no-op implementations for all interface methods allowing easy extension
by the developer.
| Access | Constructor and Description |
|---|---|
| public |
| Adapter | back to summary |
|---|---|
| public Adapter() | |
| onEntryAddedEvent | back to summary |
|---|---|
| public void onEntryAddedEvent(FileCache fileCache, FileCacheEntry entry) Implements org. Doc from org. Method will be called, when file cache entry gets added.
| |
| onEntryHitEvent | back to summary |
|---|---|
| public void onEntryHitEvent(FileCache fileCache, FileCacheEntry entry) Implements org. Doc from org. Method will be called, when file cache entry gets hit.
| |
| onEntryMissedEvent | back to summary |
|---|---|
| public void onEntryMissedEvent(FileCache fileCache, String host, String requestURI) Implements org. Doc from org. Method will be called, when file cache entry is missed for some resource.
| |
| onEntryRemovedEvent | back to summary |
|---|---|
| public void onEntryRemovedEvent(FileCache fileCache, FileCacheEntry entry) Implements org. Doc from org. Method will be called, when file cache entry gets removed.
| |
| onErrorEvent | back to summary |
|---|---|
| public void onErrorEvent(FileCache fileCache, Throwable error) Implements org. Doc from org. Method will be called, when error occurs on the
| |