Uses of Interface
org.apache.jackrabbit.oak.segment.Revisions.Option
-
Packages that use Revisions.Option Package Description org.apache.jackrabbit.oak.segment org.apache.jackrabbit.oak.segment.file org.apache.jackrabbit.oak.segment.memory -
-
Uses of Revisions.Option in org.apache.jackrabbit.oak.segment
Methods in org.apache.jackrabbit.oak.segment with parameters of type Revisions.Option Modifier and Type Method Description RecordId
Revisions. setHead(@NotNull org.apache.jackrabbit.guava.common.base.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.Option Modifier and Type Field Description static Revisions.Option
TarRevisions. EXPEDITE_OPTION
Option to cause set head calls to be expedited.static 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.Option Modifier and Type Method Description static Revisions.Option
TarRevisions. timeout(long time, java.util.concurrent.TimeUnit unit)
Factory method for creating a timeout option.Methods in org.apache.jackrabbit.oak.segment.file with parameters of type Revisions.Option Modifier and Type Method Description RecordId
ReadOnlyRevisions. setHead(@NotNull org.apache.jackrabbit.guava.common.base.Function<RecordId,RecordId> newHead, @NotNull Revisions.Option... options)
boolean
ReadOnlyRevisions. setHead(@NotNull RecordId expected, @NotNull RecordId head, @NotNull Revisions.Option... options)
RecordId
TarRevisions. setHead(@NotNull org.apache.jackrabbit.guava.common.base.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.Option Modifier and Type Method Description RecordId
MemoryStoreRevisions. setHead(@NotNull org.apache.jackrabbit.guava.common.base.Function<RecordId,RecordId> newHead, @NotNull Revisions.Option... options)
Not supported: throwsUnsupportedOperationException
boolean
MemoryStoreRevisions. setHead(@NotNull RecordId expected, @NotNull RecordId head, @NotNull Revisions.Option... options)
-