java.lang.Object
com.aoapps.appcluster.LoggerResourceListener
- All Implemented Interfaces:
ResourceListener
Logs all changes of resource state to the logger.
- Author:
- AO Industries, Inc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onResourceDnsResult
(ResourceDnsResult oldResult, ResourceDnsResult newResult) Called whenever a new result is available.void
onResourceSynchronizationResult
(ResourceSynchronizationResult oldResult, ResourceSynchronizationResult newResult) Called whenever a new synchronization result is available.
-
Constructor Details
-
LoggerResourceListener
public LoggerResourceListener()
-
-
Method Details
-
onResourceDnsResult
Description copied from interface:ResourceListener
Called whenever a new result is available.- Specified by:
onResourceDnsResult
in interfaceResourceListener
- Parameters:
oldResult
- will never benull
-
onResourceSynchronizationResult
public void onResourceSynchronizationResult(ResourceSynchronizationResult oldResult, ResourceSynchronizationResult newResult) Description copied from interface:ResourceListener
Called whenever a new synchronization result is available.- Specified by:
onResourceSynchronizationResult
in interfaceResourceListener
- Parameters:
oldResult
- will benull
for the first synchronization pass
-