Tabnine Logo
OhmDBImpl.commit
Code IndexAdd Tabnine to your IDE (free)

How to use
commit
method
in
com.ohmdb.impl.OhmDBImpl

Best Java code snippets using com.ohmdb.impl.OhmDBImpl.commit (Showing top 3 results out of 315)

origin: com.gitblit.ohmdb/ohmdb

@Override
public void commit(Transaction transaction) {
  Check.arg(this.transaction == transaction, "Invalid transaction!");
  db.commit();
  TransactionInternals internals = (TransactionInternals) transaction;
  internals.getStoreTx().commit();
  this.transaction = null;
  stats.commits++;
  lockManager.globalWriteUnlock();
}
origin: com.gitblit.ohmdb/ohmdb-core

@Override
public void commit(Transaction transaction) {
  Check.arg(this.transaction == transaction, "Invalid transaction!");
  db.commit();
  TransactionInternals internals = (TransactionInternals) transaction;
  internals.getStoreTx().commit();
  this.transaction = null;
  stats.commits++;
  lockManager.globalWriteUnlock();
}
origin: ohmdb/ohmdb

@Override
public void commit(Transaction transaction) {
  Check.arg(this.transaction == transaction, "Invalid transaction!");
  db.commit();
  TransactionInternals internals = (TransactionInternals) transaction;
  internals.getStoreTx().commit();
  this.transaction = null;
  stats.commits++;
  lockManager.globalWriteUnlock();
}
com.ohmdb.implOhmDBImplcommit

Popular methods of OhmDBImpl

  • relation
  • <init>
  • addShutdownHook
  • address
  • decode
  • deleteRelsInTx
  • exportColumns
  • exportRecord
  • exportRelations
  • failure
  • importColumns
  • importRelations
  • importColumns,
  • importRelations,
  • registerTriggers,
  • rollback,
  • table,
  • getLinkMatcher

Popular in Java

  • Updating database using SQL prepared statement
  • onRequestPermissionsResult (Fragment)
  • getApplicationContext (Context)
  • getContentResolver (Context)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now