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: