IStoreConnection Interface
public interface IStoreConnection
Instance of a store connection.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the store connection. |
void |
closeWithUnlock(UUID lockId)
Closes the store connection after releasing lock. |
Store |
getKind()
Type of store connection. |
IStore |
getTransactionScope(StoreTransactionScopeKind kind)
Acquires a transactional scope on the connection. |
void |
openWithLock(UUID lockId)
Open the store connection, and acquire a lock on the store. |
Method Details
close
public void close()
Closes the store connection.
closeWithUnlock
public void closeWithUnlock(UUID lockId)
Closes the store connection after releasing lock.
Parameters:
getKind
public StoreConnectionKind getKind()
Type of store connection.
getTransactionScope
public IStoreTransactionScope getTransactionScope(StoreTransactionScopeKind kind)
Acquires a transactional scope on the connection.
Parameters:
Returns:
openWithLock
public void openWithLock(UUID lockId)
Open the store connection, and acquire a lock on the store.
Parameters:
Applies to
Azure SDK for Java
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour