Package org.onosproject.store.service
Class DocumentTreeBuilder<V>
- java.lang.Object
-
- org.onosproject.store.primitives.DistributedPrimitiveOptions<O>
-
- org.onosproject.store.service.DocumentTreeOptions<DocumentTreeBuilder<V>,V>
-
- org.onosproject.store.service.DocumentTreeBuilder<V>
-
- All Implemented Interfaces:
DistributedPrimitiveBuilder<AsyncDocumentTree<V>>
public abstract class DocumentTreeBuilder<V> extends DocumentTreeOptions<DocumentTreeBuilder<V>,V> implements DistributedPrimitiveBuilder<AsyncDocumentTree<V>>
Builder forDocumentTree
.
-
-
Constructor Summary
Constructors Constructor Description DocumentTreeBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract AsyncDocumentTree<V>
buildDocumentTree()
Builds the distributed Document tree based on the configuration options supplied to this builder.-
Methods inherited from class org.onosproject.store.service.DocumentTreeOptions
ordering, purgeOnUninstall, withOrdering, withPurgeOnUninstall
-
Methods inherited from class org.onosproject.store.primitives.DistributedPrimitiveOptions
applicationId, meteringEnabled, name, partitionsDisabled, readOnly, relaxedReadConsistency, revisionType, serializer, type, version, withApplicationId, withName, withRelaxedReadConsistency, withRevisionType, withSerializer, withUpdatesDisabled, withVersion
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.onosproject.store.primitives.DistributedPrimitiveBuilder
build
-
-
-
-
Method Detail
-
buildDocumentTree
public abstract AsyncDocumentTree<V> buildDocumentTree()
Builds the distributed Document tree based on the configuration options supplied to this builder.- Returns:
- new distributed document tree
- Throws:
java.lang.RuntimeException
- if a mandatory parameter is missing
-
-