Interface ObjectStoreConnection

All Superinterfaces:
AutoCloseable, TxnApi

public interface ObjectStoreConnection extends TxnApi, AutoCloseable
  • Method Summary

    Modifier and Type
    Method
    Description
    access(org.aksw.commons.path.core.Path<String> keySegments)
    Declare access to the requested resource and lock it with the ObjectStoreConnection's active transaction mode (read or write).
    void
    commit(TxnHandler handler)
     

    Methods inherited from interface java.lang.AutoCloseable

    close

    Methods inherited from interface org.aksw.commons.txn.api.TxnApi

    abort, begin, commit
  • Method Details

    • access

      ObjectResource access(org.aksw.commons.path.core.Path<String> keySegments)
      Declare access to the requested resource and lock it with the ObjectStoreConnection's active transaction mode (read or write).
    • commit

      void commit(TxnHandler handler)