MCPcopy Create free account
hub / github.com/ddf-project/DDF / addDDF

Method addDDF

core/src/main/java/io/ddf/DDFManager.java:169–174  ·  view source on GitHub ↗
(DDF ddf)

Source from the content-addressed store, hash-verified

167 protected Map<String, IModel> mModels = new ConcurrentHashMap<String, IModel>();
168
169 public void addDDF(DDF ddf) throws DDFException {
170 mDDFCache.addDDF(ddf);
171 if (this.mDDFCoordinator != null) {
172 mDDFCoordinator.setDDFUUID2DDFManager(ddf.getUUID(), this);
173 }
174 }
175
176 public void removeDDF(DDF ddf) throws DDFException {
177 ddf.getRepresentationHandler().reset();

Callers 1

newDDFMethod · 0.95

Calls 2

setDDFUUID2DDFManagerMethod · 0.80
getUUIDMethod · 0.65

Tested by

no test coverage detected