Search in sources :

Example 1 with WriteableDOMDataTreeShard

use of org.opendaylight.mdsal.dom.spi.shard.WriteableDOMDataTreeShard in project controller by opendaylight.

the class DistributedShardFrontend method addChildShard.

private void addChildShard(final DOMDataTreeIdentifier prefix, final DOMDataTreeShard child) {
    Preconditions.checkArgument(child instanceof WriteableDOMDataTreeShard);
    childShards.put(prefix, new ChildShardContext(prefix, (WriteableDOMDataTreeShard) child));
}
Also used : ChildShardContext(org.opendaylight.mdsal.dom.spi.shard.ChildShardContext) WriteableDOMDataTreeShard(org.opendaylight.mdsal.dom.spi.shard.WriteableDOMDataTreeShard) ReadableWriteableDOMDataTreeShard(org.opendaylight.mdsal.dom.spi.shard.ReadableWriteableDOMDataTreeShard)

Aggregations

ChildShardContext (org.opendaylight.mdsal.dom.spi.shard.ChildShardContext)1 ReadableWriteableDOMDataTreeShard (org.opendaylight.mdsal.dom.spi.shard.ReadableWriteableDOMDataTreeShard)1 WriteableDOMDataTreeShard (org.opendaylight.mdsal.dom.spi.shard.WriteableDOMDataTreeShard)1