public static class ResourceWatcher.CallbackSupport extends Object implements ResourceWatcher.Callback
ResourceWatcher.Callback which does nothing by default.| Constructor and Description |
|---|
ResourceWatcher.CallbackSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
onGroupChanged(CacheKey key)
Callback method invoked when a group change is detected.
|
void |
onResourceChanged(Resource resource)
Invoked when the change of the resource is detected.
|
public void onGroupChanged(CacheKey key)
ResourceWatcher.CallbackonGroupChanged in interface ResourceWatcher.Callbackkey - CacheKey associated with the group whose change was detected.public void onResourceChanged(Resource resource)
ResourceWatcher.CallbackonResourceChanged in interface ResourceWatcher.Callbackresource - the Resource which changed.Copyright © 2008-2014. All Rights Reserved.