|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.http.server.filecache.FileCacheProbe.Adapter
public static class FileCacheProbe.Adapter
FileCacheProbe adapter that provides no-op implementations for
all interface methods allowing easy extension by the developer.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.glassfish.grizzly.http.server.filecache.FileCacheProbe |
|---|
FileCacheProbe.Adapter |
| Constructor Summary | |
|---|---|
FileCacheProbe.Adapter()
|
|
| Method Summary | |
|---|---|
void |
onEntryAddedEvent(FileCache fileCache,
FileCacheEntry entry)
Method will be called, when file cache entry gets added. |
void |
onEntryHitEvent(FileCache fileCache,
FileCacheEntry entry)
Method will be called, when file cache entry gets hit. |
void |
onEntryMissedEvent(FileCache fileCache,
java.lang.String host,
java.lang.String requestURI)
Method will be called, when file cache entry is missed for some resource. |
void |
onEntryRemovedEvent(FileCache fileCache,
FileCacheEntry entry)
Method will be called, when file cache entry gets removed. |
void |
onErrorEvent(FileCache fileCache,
java.lang.Throwable error)
Method will be called, when error occurs on the FileCache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileCacheProbe.Adapter()
| Method Detail |
|---|
public void onEntryAddedEvent(FileCache fileCache,
FileCacheEntry entry)
onEntryAddedEvent in interface FileCacheProbefileCache - FileCache, the event belongs to.entry - FileCacheEntry been added.
public void onEntryRemovedEvent(FileCache fileCache,
FileCacheEntry entry)
onEntryRemovedEvent in interface FileCacheProbefileCache - FileCache, the event belongs to.entry - FileCacheEntry been removed.
public void onEntryHitEvent(FileCache fileCache,
FileCacheEntry entry)
onEntryHitEvent in interface FileCacheProbefileCache - FileCache, the event belongs to.entry - FileCacheEntry been hitted.
public void onEntryMissedEvent(FileCache fileCache,
java.lang.String host,
java.lang.String requestURI)
onEntryMissedEvent in interface FileCacheProbefileCache - FileCache, the event belongs to.host - the requested HTTP "Host" header.requestURI - the requested HTTP URL.
public void onErrorEvent(FileCache fileCache,
java.lang.Throwable error)
FileCache.
onErrorEvent in interface FileCacheProbefileCache - FileCache, the event belongs to.error - error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||