Uses of Interface
org.apache.jackrabbit.oak.segment.Revisions.Option
Packages that use Revisions.Option
Package
Description
-
Uses of Revisions.Option in org.apache.jackrabbit.oak.segment
Methods in org.apache.jackrabbit.oak.segment with parameters of type Revisions.OptionModifier and TypeMethodDescriptionRevisions.setHead
(@NotNull Function<RecordId, RecordId> newHead, @NotNull Revisions.Option... options) Atomically set the record id of the current head state to the value returned from thenewHead
function when called with the record id of the current head.boolean
Revisions.setHead
(@NotNull RecordId expected, @NotNull RecordId head, @NotNull Revisions.Option... options) Atomically set the record id of the current head state to the givenhead
state if the current head state matches theexpected
value. -
Uses of Revisions.Option in org.apache.jackrabbit.oak.segment.file
Fields in org.apache.jackrabbit.oak.segment.file declared as Revisions.OptionModifier and TypeFieldDescriptionstatic final Revisions.Option
TarRevisions.EXPEDITE_OPTION
Option to cause set head calls to be expedited.static final Revisions.Option
TarRevisions.INFINITY
Timeout option approximating no time out (Long.MAX_VALUE
days).Methods in org.apache.jackrabbit.oak.segment.file that return Revisions.OptionModifier and TypeMethodDescriptionstatic Revisions.Option
Factory method for creating a timeout option.Methods in org.apache.jackrabbit.oak.segment.file with parameters of type Revisions.OptionModifier and TypeMethodDescriptionReadOnlyRevisions.setHead
(@NotNull Function<RecordId, RecordId> newHead, @NotNull Revisions.Option... options) boolean
ReadOnlyRevisions.setHead
(@NotNull RecordId expected, @NotNull RecordId head, @NotNull Revisions.Option... options) TarRevisions.setHead
(@NotNull Function<RecordId, RecordId> newHead, @NotNull Revisions.Option... options) This implementation blocks if a concurrent call is already in progress.boolean
TarRevisions.setHead
(@NotNull RecordId expected, @NotNull RecordId head, @NotNull Revisions.Option... options) This implementation blocks if a concurrent call toTarRevisions.setHead(Function, Option...)
is already in progress. -
Uses of Revisions.Option in org.apache.jackrabbit.oak.segment.memory
Methods in org.apache.jackrabbit.oak.segment.memory with parameters of type Revisions.OptionModifier and TypeMethodDescriptionMemoryStoreRevisions.setHead
(@NotNull Function<RecordId, RecordId> newHead, @NotNull Revisions.Option... options) Not supported: throwsUnsupportedOperationException
boolean
MemoryStoreRevisions.setHead
(@NotNull RecordId expected, @NotNull RecordId head, @NotNull Revisions.Option... options)