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 RecordIdRevisions. 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 thenewHeadfunction when called with the record id of the current head.booleanRevisions. setHead(@NotNull RecordId expected, @NotNull RecordId head, @NotNull Revisions.Option... options)Atomically set the record id of the current head state to the givenheadstate if the current head state matches theexpectedvalue. -
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.OptionTarRevisions. EXPEDITE_OPTIONOption to cause set head calls to be expedited.static Revisions.OptionTarRevisions. INFINITYTimeout option approximating no time out (Long.MAX_VALUEdays).Methods in org.apache.jackrabbit.oak.segment.file that return Revisions.Option Modifier and Type Method Description static Revisions.OptionTarRevisions. timeout(long time, 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 RecordIdReadOnlyRevisions. setHead(@NotNull Function<RecordId,RecordId> newHead, @NotNull Revisions.Option... options)booleanReadOnlyRevisions. setHead(@NotNull RecordId expected, @NotNull RecordId head, @NotNull Revisions.Option... options)RecordIdTarRevisions. setHead(@NotNull Function<RecordId,RecordId> newHead, @NotNull Revisions.Option... options)This implementation blocks if a concurrent call is already in progress.booleanTarRevisions. 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 RecordIdMemoryStoreRevisions. setHead(@NotNull Function<RecordId,RecordId> newHead, @NotNull Revisions.Option... options)Not supported: throwsUnsupportedOperationExceptionbooleanMemoryStoreRevisions. setHead(@NotNull RecordId expected, @NotNull RecordId head, @NotNull Revisions.Option... options)
-