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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för