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 specifiedResourceIdinto thisSnapshot.voidsetDataStore(DataStore dataStore) voidsetLockSetService(LockSetService lockSetService)
-
Constructor Details
-
StandardSnapshotBuilder
public StandardSnapshotBuilder()
-
-
Method Details
-
load
Description copied from interface:Snapshot.Builder- Specified by:
loadin interfaceSnapshot.Builder- Returns:
- this instance
-
load
Description copied from interface:Snapshot.BuilderLoads the specifiedResourceIdinto thisSnapshot.- Specified by:
loadin interfaceSnapshot.Builder- Returns:
- this instance
-
buildRO
Description copied from interface:Snapshot.BuilderBuilds theSnapshot.- Specified by:
buildROin interfaceSnapshot.Builder- Returns:
- the
Snapshot
-
buildRW
Description copied from interface:Snapshot.BuilderBuilds theSnapshot.- Specified by:
buildRWin interfaceSnapshot.Builder- Returns:
- the
Snapshot
-
doBuild
-
getDataStore
-
setDataStore
-
getLockSetService
-
setLockSetService
-