Class StandardSnapshotBuilder
java.lang.Object
dev.getelements.elements.rt.transact.StandardSnapshotBuilder
- All Implemented Interfaces:
Snapshot.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildRO()
Builds theSnapshot
.buildRW()
Builds theSnapshot
.doBuild
(Function<SortedSet<Path>, Monitor> pathMonitorSupplier, Function<SortedSet<ResourceId>, Monitor> resourceIdMonitorSupplier) load
(ResourceId resourceId) Loads the specifiedResourceId
into thisSnapshot
.void
setDataStore
(DataStore dataStore) void
setLockSetService
(LockSetService lockSetService)
-
Constructor Details
-
StandardSnapshotBuilder
public StandardSnapshotBuilder()
-
-
Method Details
-
load
Description copied from interface:Snapshot.Builder
- Specified by:
load
in interfaceSnapshot.Builder
- Returns:
- this instance
-
load
Description copied from interface:Snapshot.Builder
Loads the specifiedResourceId
into thisSnapshot
.- Specified by:
load
in interfaceSnapshot.Builder
- Returns:
- this instance
-
buildRO
Description copied from interface:Snapshot.Builder
Builds theSnapshot
.- Specified by:
buildRO
in interfaceSnapshot.Builder
- Returns:
- the
Snapshot
-
buildRW
Description copied from interface:Snapshot.Builder
Builds theSnapshot
.- Specified by:
buildRW
in interfaceSnapshot.Builder
- Returns:
- the
Snapshot
-
doBuild
-
getDataStore
-
setDataStore
-
getLockSetService
-
setLockSetService
-