Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,26 @@
import org.apache.ignite.internal.table.distributed.index.IndexUpdateHandler;

/**
* Partition update handler container.
* Partition resource container: handlers and modification counter created during partition setup.
*/
class PartitionUpdateHandlers {
class PartitionResources {
final StorageUpdateHandler storageUpdateHandler;

final IndexUpdateHandler indexUpdateHandler;

final GcUpdateHandler gcUpdateHandler;

PartitionUpdateHandlers(
final PartitionModificationCounter modificationCounter;

PartitionResources(
StorageUpdateHandler storageUpdateHandler,
IndexUpdateHandler indexUpdateHandler,
GcUpdateHandler gcUpdateHandler
GcUpdateHandler gcUpdateHandler,
PartitionModificationCounter modificationCounter
) {
this.storageUpdateHandler = storageUpdateHandler;
this.indexUpdateHandler = indexUpdateHandler;
this.gcUpdateHandler = gcUpdateHandler;
this.modificationCounter = modificationCounter;
}
}
Loading