Revision 7108
Added by ben leinfelder almost 13 years ago
src/edu/ucsb/nceas/metacat/dataone/hazelcast/HazelcastService.java | ||
---|---|---|
216 | 216 |
// Listen for members added/removed |
217 | 217 |
hzInstance.getCluster().addMembershipListener(this); |
218 | 218 |
|
219 |
// Listen for lifecycle state changes |
|
220 |
hzInstance.getLifecycleService().addLifecycleListener(this); |
|
221 |
|
|
219 | 222 |
} catch (PropertyNotFoundException e) { |
220 | 223 |
|
221 | 224 |
String msg = "Couldn't find Hazelcast properties for the DataONE clusters. " + |
Also available in: Unified diff
Add the listener for LifecycleEvent state changes