IModelClientV2
This interface is meant exclusively for model client usage.
It is designed to ensure decoupling between model client usage operations and other aspects, such as lifecycle management. Users of this interface cannot incidentally depend on non-usage functionality. See also: Interface segregation principle
Specifically, this interface should not be used for managing the client's lifecycle, as the lifecycle management may vary depending on the specific implementation. If you need to manage the client's lifecycle, use the methods in the class interface of the concrete implementations, such as ModelClientV2.
Inheritors
Functions
Deletes a branch from a repository if it exists.
An overload of IModelClientV2.lazyLoadVersion that reads the current version hash of the branch from the server and then loads that version with lazy loading support.
This function loads parts of the model lazily while it is iterated and limits the amount of data that is cached on the client side.
While pull
returns immediately poll
returns as soon as a new version, that is different from the given lastKnownVersion
, is pushed to the server or after some timeout specified by the server (usually ~30 seconds).
Performs a write transaction on the root node of the given branch.
Performs a write transaction on the root node of the given branch.