Class InMemoryTxLockWatcher
java.lang.Object
tech.ydb.yoj.repository.test.inmemory.InMemoryTxLockWatcher
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetReadRanges(TableDescriptor<T> tableDescriptor) getReadRows(TableDescriptor<T> tableDescriptor) markRangeRead(TableDescriptor<T> tableDescriptor, Map<String, Object> map) markRangeRead(TableDescriptor<T> tableDescriptor, Range<ID> range) <T extends Entity<T>>
voidmarkRowRead(TableDescriptor<T> tableDescriptor, Entity.Id<T> id) markTableRead(TableDescriptor<T> tableDescriptor)
-
Field Details
-
NO_LOCKS
-
-
Constructor Details
-
InMemoryTxLockWatcher
public InMemoryTxLockWatcher()
-
-
Method Details
-
markRowRead
-
markRangeRead
public <T extends Entity<T>,ID extends Entity.Id<T>> void markRangeRead(TableDescriptor<T> tableDescriptor, Range<ID> range) -
markRangeRead
-
markTableRead
public <T extends Entity<T>,ID extends Entity.Id<T>> void markTableRead(TableDescriptor<T> tableDescriptor) -
getReadRows
-
getReadRanges
public <T extends Entity<T>> List<Range<Entity.Id<T>>> getReadRanges(TableDescriptor<T> tableDescriptor)
-