use of com.hazelcast.collection.impl.collection.CollectionService in project hazelcast by hazelcast.
the class CollectionReplicationOperation method run.
@Override
public void run() throws Exception {
CollectionService service = getService();
for (Map.Entry<String, CollectionContainer> entry : migrationData.entrySet()) {
String name = entry.getKey();
CollectionContainer container = entry.getValue();
container.init(getNodeEngine());
service.addContainer(name, container);
}
}
Aggregations