Revision 9078
Added by Jing Tao almost 10 years ago
src/edu/ucsb/nceas/metacat/dataone/hazelcast/HazelcastService.java | ||
---|---|---|
562 | 562 |
public void run() { |
563 | 563 |
try { |
564 | 564 |
// this is a push mechanism |
565 |
System.out.println("Start the hazelcast synchronization"); |
|
566 |
logMetacat.warn("Start the hazelcast synchronization"); |
|
565 | 567 |
resynchToRemote(); |
568 |
System.out.println("End the hazelcast synchronization"); |
|
569 |
logMetacat.warn("End the hazelcast synchronization"); |
|
566 | 570 |
} catch (Exception e) { |
567 | 571 |
logMetacat.error("Error in resynchInThread: " + e.getMessage(), e); |
568 | 572 |
} |
Also available in: Unified diff
Add the log messages to indicate the hazelcast synchronization starting and ending.