IShardProvider<ValueT> Interface
Type Parameters
- ValueT
public interface IShardProvider
Represents capabilities to provide a Shard along with an associated value.
Method Summary
Modifier and Type | Method and Description |
---|---|
Shard |
getShardInfo()
Shard for the ShardProvider object. |
ValueT |
getValue()
Value corresponding to the Shard. Represents traits of the Shard object provided by the ShardInfo property. |
void |
validate(StoreShardMap shardMap, Connection conn)
Performs validation that the local representation is as up-to-date as the representation on the backing data store. |
Callable |
validateAsync(StoreShardMap shardMap, Connection conn)
Asynchronously performs validation that the local representation is as up-to-date as the representation on the backing data store. |
Method Details
getShardInfo
public Shard getShardInfo()
Shard for the ShardProvider object.
getValue
public ValueT getValue()
Value corresponding to the Shard. Represents traits of the Shard object provided by the ShardInfo property.
validate
public void validate(StoreShardMap shardMap, Connection conn)
Performs validation that the local representation is as up-to-date as the representation on the backing data store.
Parameters:
validateAsync
public Callable validateAsync(StoreShardMap shardMap, Connection conn)
Asynchronously performs validation that the local representation is as up-to-date as the representation on the backing data store.
Parameters:
Returns:
Applies to
Azure SDK for Java
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示