Class SynchronizedSessionRunner

  • All Implemented Interfaces:
    FDBDatabaseRunner, AutoCloseable

    @API(EXPERIMENTAL)
    public class SynchronizedSessionRunner
    extends Object
    implements FDBDatabaseRunner
    An FDBDatabaseRunner implementation that performs all work in the context of a SynchronizedSession.

    For all variations of run and runAsync methods, the work in the retriable lambda is wrapped by calls that check locks and update leases to ensure that two synchronized sessions are not concurrently running at the same time.

    See Also:
    SynchronizedSession