use of io.vertx.core.impl.ConcurrentHashSet in project vert.x by eclipse.
the class ComplexHATest method takeDeploymentSnapshot.
protected Set<Deployment> takeDeploymentSnapshot(int pos) {
Set<Deployment> snapshot = new ConcurrentHashSet<>();
VertxInternal v = (VertxInternal) vertices[pos];
for (String depID : v.deploymentIDs()) {
snapshot.add(v.getDeployment(depID));
}
return snapshot;
}
Aggregations