use of com.hazelcast.concurrent.atomicreference.AtomicReferenceService in project hazelcast by hazelcast.
the class AtomicReferenceReplicationOperation method run.
@Override
public void run() throws Exception {
AtomicReferenceService atomicReferenceService = getService();
for (Map.Entry<String, Data> entry : migrationData.entrySet()) {
String name = entry.getKey();
AtomicReferenceContainer atomicReferenceContainer = atomicReferenceService.getReferenceContainer(name);
Data value = entry.getValue();
atomicReferenceContainer.set(value);
}
}
Aggregations