ReliableCollection Interface
public interface ReliableCollection extends ReliableState
Defines methods for manipulating Reliable Collections.
Method Summary
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
clearAsync()
Removes all state from the ReliableCollection, including replicated and persisted store. |
long |
getCount()
Gets the number of elements contained in the ReliableCollection |
Inherited Members
Method Details
clearAsync
public CompletableFuture
Removes all state from the ReliableCollection, including replicated and persisted store.
Returns:
A completable future that represents the asynchronous clear operation.
getCount
public long getCount()
Gets the number of elements contained in the ReliableCollection
Returns:
The number of elements.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java