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
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla