org.eclipse.rdf4j

## Interface IsolationLevel

- All Known Implementing Classes:
    IsolationLevels

      public interface IsolationLevel

  A Transaction Isolation Level. Defaul levels supported by Sesame are provided by `IsolationLevels`, third-party triplestore implementors may choose to add additional IsolationLevel implementations if their triplestore's isolation contract is different from what is provided by default.
  Author:
    Jeen Broekstra

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `IRI` | `getURI()` Get a URI uniquely representing this isolation level.
    `boolean` | `isCompatibleWith(IsolationLevel otherLevel)` Verifies if this transaction isolation level is compatible with the supplied other isolation level - that is, if this transaction isolation level offers at least the same guarantees as the other level.

- - ### Method Detail

    - #### isCompatibleWith

          boolean isCompatibleWith(IsolationLevel otherLevel)

      Verifies if this transaction isolation level is compatible with the supplied other isolation level - that is, if this transaction isolation level offers at least the same guarantees as the other level. By definition, every transaction isolation level is compatible with itself.
      Parameters:
        `otherLevel` - an other isolation level to check compatibility against.
      Returns:
        true iff this isolation level is compatible with the supplied other isolation level, false otherwise.

    - #### getURI

          IRI getURI()

      Get a URI uniquely representing this isolation level.
      Returns:
        a URI that uniquely represents this isolation level.

Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.