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 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기